Javascript code for validating name

The name can’t be empty and password can’t be less than 6 characters long. The user will not be forwarded to the next page until given values are correct.Using client side Java Script is an efficient way to validate the user input in web forms.

Data Format Validation – Secondly, the data that is entered must be checked for correct form and value.

This was really a lengthy process and over burdening server.

Java Script, provides a way to validate form’s data on the client’s computer before sending it to the web server. Basic Validation – First of all, the form must be checked to make sure data was entered into each form field that required it.

Microsoft® Office Front Page® 2003 allows you to create some custom validation within the form feature.

(For more information on how to create form validation using the Front Page form feature, see About creating forms in Front Page 2003.) However, if the form validation provided in Front Page does not suit your needs or the site on which you are working is hosted on a server that does not have Front Page Server Extensions from Microsoft installed, you may need to create custom form validation.

229

Leave a Reply