Validating email address in javascript

It is important to validate the form submitted by the user because it can have inappropriate values. The Java Script provides you the facility the validate the form on the client side so processing will be fast than server-side validation.So, most of the web developers prefer Java Script form validation.When form input is important, it should always be verified using a secure server-side script.Otherwise a browser with Java Script disabled, or a hacker trying to compromise your site, can easily submit invalid data. The first test in the example is therefore only necessary in order to provide a different error message when the input is blank.It is quite easy to do form validations using that script.

The advantage is that you can add those validations right from Dream Weaver. With Spry validation widgets, you can verify the input in a text field, a check box, a text area, a group of radio buttons and even a pull-down(drop-down) menu.

Through Java Script, we can validate name, password, email, date, mobile number etc fields.

In this example, we are going to validate the name and password.

This may happen because when a product or application is build as per the specification but these specifications are not up to the mark hence they fail to address the user requirements.

Validation is basically done by the testers during the testing. Incidents can also be of type ‘Question’ where the functionality is not clear to the tester.

Search for validating email address in javascript:

validating email address in javascript-22validating email address in javascript-24validating email address in javascript-18

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “validating email address in javascript”