Verify E-mail Address | JavaScriptSource

Verify E-mail Address

William Bontrager Jan 12, 2009


Collecting e-mail addresses in a form are important as they are generally the only method of contacting the user. This script will verify an e-mail address is entered correctly by requiring the user to re-enter the address, checking to make sure there is no typographical error. This script can also be used for passwords or other information that must be verified before being submitted.

Type again


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: verifyAddress.js


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document

Leave a Response

(1 comment)

Hi , i am a new working with javascript. when i try to validate the code i get error beacause the action is not filled, looks like this action="" i know that space need to be filled. How to i use it if i want the action to be to sent the email addresses that people will provide using this script? I dont get it . need all the help i can get.

marianna kosmidou May 14, 2015