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
Best of Paparazzi Girls
Here are the girls largely responsible for keeping the paparazzi machine humming.
Zimbio Caption Contest: Enter and Win $25 at Amazon.com!
This is possibly the easiest photo to caption. It practically writes itself.
Amber Rose Goes Topless in Miami, Children Unfazed
Uh, are there topless beaches in Miami that allow children?
More From Zimbio
Copyright © 2009 - Zimbio, Inc. Some rights reserved.