Welcome to jFormVal
JFormVal is jQuery Plugin for form validation.
It has been tested on all major browsers and works wonders!
Main features:
- One line validation
- Bundle for error messages
- Auto change css style
- Easy configuration
Short example
jQuery('#i01').valText('City').min(1).dif('Chicago').max(20);
This sample validates the element which id is 'i01'.
It is a 'text field' as the function 'valText' implies.
We gave it the name 'City', so it can have a nice error message, and set the following restrictions:
- It must be at least 1 character in length (in other words: It has to be filled in)
- Must be different from 'Chicago'
- Can't have more than 20 characters