3 Kudos

jQuery validation engine, jquery inline form validation

jQuery validation engine, yet another nice form validation plugin for jquery javascript framework, comes with language localization supported and many predefined validation rules:

  • optional: Special: Only validate when the field is not empty
  • required: Field is required
  • length[0,100] : Between x and x characters allowed
  • minCheckbox[7] : Set the maximum checkbox autorized for a group
  • confirm[fieldID] : Match the other field (ie:confirm password)
  • telephone : Match telephone regEx rule.
  • email : Match email regEx rule.
  • onlyNumber : Numbers only
  • noSpecialCaracters : No special characters allowed
  • onlyLetter : Letters only
  • date : Invalid date, must be in YYYY-MM-DD format

but you also could define a custom validation rule i.e:

"telephone":{
"regex":"/^[0-9-()]+$/",
"alertText":"* Invalid phone number"},

Has been tested in Internet Exploder 6 & 7, Firefox 3+, Safari 4, Chrome 1+

Download and Demos

Sponsors
Sponsors
About the Author

3 Kudos
Top Entertainment Articles
Zimbio Caption Contest: Enter and Win $25 at Amazon.com!
This is possibly the easiest photo to caption. It practically writes itself.
Twilight’s Christian Serratos Gets Naked For PETA
Serratos poses naked for the 'I'd Rather Go Naked Than Wear Fur' campaign.
100 Best Bikini Bodies
Click here for the best way to spend 10 minutes.
More From Zimbio
Copyright © 2009 - Zimbio, Inc. Some rights reserved.