Position Absolute is sharing an easy to use form validation engine built with jQuery.
It offers a flexible way of displaying errors that will possibly match any type of form design. When the script detects an error, it creates a div, positions it at the right-top corner of the input & displays it like a tooltip with the error message inside.
Validation rules are created inside the classes of every input field like:
Website: http://www.position-relative.net/creation/formValidate
Demo: http://www.position-relative.net/creation/formValidate
It offers a flexible way of displaying errors that will possibly match any type of form design. When the script detects an error, it creates a div, positions it at the right-top corner of the input & displays it like a tooltip with the error message inside.
Validation rules are created inside the classes of every input field like:
<input class="validate[required,custom[onlyLetter],length[0,100]]" name="first" type="text" />
It currently support rules like:
- required
- length
- telephone
- onlyNumber
- onlyLetter
- & more
Website: http://www.position-relative.net/creation/formValidate
Demo: http://www.position-relative.net/creation/formValidate