Form Validation Script

you are browsing Home JavaScripts Form Validation Script

Description

The script implements over 20 validation types and extra features (such as character counter for textareas and input tags, etc) that can be added with minimal modifications to html code. The script includes PHP and JavaScript versions that perform exactly the same checks.
Form validation samples:

Demo

In case you limit the number of characters the users are allowed to enter, you can let them know how many characters are left.
0 out of 10 characters

Demo

In case some data consists of several fixed-size fields (i.e. date, license key, etc), the script can move the focus to the next field after the user enters the necessary number of characters. If the user removes all the characters, the focus is moved to the previous field.
yyyy/mm/dd

Demo

The script can optionally override default Enter key behavior so that the Enter key moves the focus to the next empty field instead of submitting the form.


Downloads

Link back

If you find this page useful, you can link to it using the code below or one of the codes here.