What is moolidate?moolidate is a simple mootools plugin that will painlessly validate strings, form fields, the inner text of an element and more. Only depends on the "Core", "Class", and "Native"
... [More]
mootools classes.
Who is it For?The moolidate plugin is for web developers that want to relieve the stress of validating and verifyng data that they may not have control over. You should have some basic knowledge of javascript and mootools to use this plugin. If you
Feel that only checking the value.length of your inputs is not enough. Want advanced validation features but have little to no knowledge of regular expressions. Know regular expressions inside and out, but find writing and testing your own an annoyance. Use mootools extensively, and want a validation library that incorporates with it. Want Inform your users that they have invalid input without reloading the page. then moolidate is probably for you.
Why moolidate?Easy to useSyntax is very clear and easy to use.
$('name').validName() //true
$('name2').validName() //false
"Tracy O'Brady".isName() //trueSmart"123 555 6789".isPhoneNumber() //true
"(123) 555-6789".isPhoneNumber() //true
"123.555.6789".isPhoneNumber() //true
"123-555-6789".isPhoneNumber() //true
"12-3555-6789".isPhoneNumber() //false
"123-555-6789a".isPhoneNumber() //false [Less]