Verify/Notify for Duplicate Fields

By Patrick Fitzgerald on Nov 14, 2007


When requesting certain information, such as an e-mail address or a password, it’s usually best to have the user enter the information twice in order to verify that a typing error did not occur. This script will do just that, and will provide a message for your user that it has been done.


Re-enter Password:



For further information, visit the author’s Web site.

Source Code

Paste this source code into the designated areas.

External file

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


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


Paste this code into the BODY section of your HTML document