jQuery.validVal is a plugin designed to simplify & customizable form validation. It is highly customizable, very feature rich and can easily be dropped on any type of HTML-form (even AJAX-forms) with very little effort. It can be used for validating any kind of HTML form (including Ajaxed ones) and works by defining the rules within class names.
Please feel free to join us and you are always welcome to share your thoughts even if you have more reference links related to other tips and tricks that our readers may like. |
|
|
There are 3 default validations included (“required”, “numeric” and “email-format”) and new ones can be included by defining new regular expressions.
A very nice built-in invalid handler helps calling-to-action on invalid fields and its behaviours can be quickly changed or improved.
Validation Example Preview:
jQuery.validval Plugin Features
- Can be used for validating any kind of HTML-form, with very little effort.
- Supports three default value-validations: “required”, “numeric” and “email-format”.
- Easily extendable with custom value-validations.
- Great default “invalid-handler” that can be extended or customized.
- Can validate multiple input-fields for corresponding values.
- Enables a group of checkboxes to have at least one checkbox to be “required”.
- Built in support for clearing the default-value “onFocus”.
- Automatically select the next input-field when the “maxlength” nth-character is entered.
- Is capable of formatting the entered text “onBlur”.
- Supplies a workaround for IE’s lack of support for the :focus-pseudoclass.
Download jQuery.validval Plugin
Requirements: jQuery
Compatibility: All Major Browsers
Website: http://validval.frebsite.nl/
Demo: http://validval.frebsite.nl/examples.php