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.
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
|
Posted by: Administrator - Sat, Jan 9, 2010. This article has been viewed 3305 times. |
Online URL: https://www.articlediary.com/article/inline-form-validation-with-jquery-201.html |
Powered by PHPKB (Knowledge Base Software)