Created
July 10, 2017 17:43
-
-
Save davidchc/bdd1322b95ff8a76e9a1b06360533572 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ValidateForm = function(){ | |
var m = {}; | |
m.empty = function(field){ | |
}; | |
m.isset = function(field){ | |
}; | |
m.numeric = function(field) { | |
}; | |
m.email = function(field){ | |
}; | |
m.between = function(field, min, max){ | |
}; | |
m.max = function(field, max){ | |
}; | |
m.min = function(field, min){ | |
}; | |
m.equal = function(field, value){ | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment