Data is processed and analyzed in real-time using jQuery.
After the user moves from the current field to thenext, if the data doesn't satisfy all criteria, an error is shown.
The plugin was tested in Internet Exploder 6 & 7, Firefox 3+, Safari 4 and Google Chrome 1+.
The plugin can be used for normal and AJAX pages the same.
Here are some key features of "formValidator":
Customizable options and settings:
· optional: Special: Only validate when the field is not empty (call optional first)
· required: Field is required
· length[0,100] : Between x and x characters allowed
· maxCheckbox[7] : Set the maximum checkbox autorized for a group
· minCheckbox[7] : Set the minimum 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
· exemptString : Will not validate if the string match
· date : Invalid date, must be in YYYY-MM-DD format
· funcCall : Validate custom functions outside of the engine scope
Requirements:
· JavaScript enabled on client side
· jQuery 1.4.2 or higher
What's New in This Release: [ read full changelog ]
· Div overflown support + small fix to inline ajax validation + small code overhaul.