The idea behind Java Script form validation is to provide a method to check the user entered information before they can even submit it.Java Script also lets you display helpful alerts to inform the user what information they have entered incorrectly and how they can fix it. Now you can ask questions directly to me on my new site ASPForums. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.This takes care of erroneous information saving time for both users and the server, and since the script is executed on the client side there is no excess load on the server.The preliminary checks can be performed to check for password length, empty field, unwanted text etc.To check this rule, specify a password with a length out of this range.
The comparison will be performed by using the operator that is set for the comparison Type option.
You can avoid these headaches once and for all with Java Script's amazing way to combat bad form data with a technique called "form validation".
Some validations require use of Regular Expressions for pattern matching for addresses, zip codes, phone numbers etc.