This may be a very stupid question but i am looking for a list of the inline validation rules for the jquery form validator.
I know that i can find the js functions here:
but i am looking for a list of the simple inline classes like
email, url, phone, etc., and learn how to use them. I am just looking for a simple list. Thank you.
Looking at the source, I believe these are the only rules that can be used simply by adding classes:
As for how to use them, just add them into the class
attribute of your input
:
<input type='text' class='required creditcard' name='credit-card' />
You'll have to define other rules in the object you pass to validate
.
Most probably you are looking for this
http://elegantcode.com/wp-content/uploads/2010/03/Jquery-Validator-Cheat-sheet.pdf
Founded when I was looking for same easy to remember list of validation plugin rules. :)
Update: If you like to have all things together try this too:
http://marketblog.envato.com/resources/extensive-collection-cheatsheets-web-designers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With