Languages Java Forms Validation Processing  

Complete, general form validation

download download  
important code information
author:
Eric H. Anderson
minimum requirements:
Complete, general form validation description

This script is a combination of a lot of common form validation elements - checking for non-entries, image swaping to indicate invalid entries, focusing on invalid fields, and feedback to the user through an alert box. I got tired of writing new code for every form (or even cutting and pasting a lot) so this is intended as a .js include file, and all the information necessary to validate the form is contained in the form itself. Most validation is of the did-they-fill-it-in variety. See the comments in the script for more details. Additional validation can be performed with a customized object-oriented JavaScript function. Explanations and an example are provided in the comments.


File List:
errorCheck.js22Kb

Similar code
A good email validation (Popularity: ) : Here is a script that checks for the validity of email, avoiding invalid characters, position of @ and . dot ...
A - Z Form Validator (Popularity: ) : Validating the form elements

Easy Query String (Popularity: ) : This little html document reads value from the Query String to be used in javascripts. I made this script for ...
Check Fiscal Code 1.0 (ITALIAN) (Popularity: ) : It checks the validity of last char in fiscal code string that is a control char calculated by an algorithm. ...
Enter keys instead of Tab Keys (Popularity: ) : Feel painless with inputing data at your HTML form ?? this script let you use enter keys instead of tab ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 38
version
size in Kb 6
popularity   345/5827733
user rating 0/10
ad


New Code
Popular Code