Inline Form Validation With jQuery


Position Absolute is sharing an easy to use form validation engine built with jQuery. When it comes to form validation, it is always hard to have a versatile solution for every possible situation. Figuring out how to display errors is not a simple task and cannot be taken lightly. This jQuery form validation script is an attempt to solve this problem. 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.

jQuery Form Validation

Validation rules are created inside the classes of every input field like:
It currently support rules like:
It will make your form validation as painless as possible. You can also create new regex rules very easily and it incorporate an easy way to create your language localization.

Requirements: jQuery
Compatibility: All Major Browsers

Online Demo

http://www.position-relative.net/creation/formValidator/


Article ID: 201
Created: Sat, Jan 9, 2010
Last Updated: Sat, Jan 9, 2010
Author: Administrator

Online URL: https://www.articlediary.com/article/inline-form-validation-with-jquery-201.html