General
Use this script to prevent visitors from submitting a form before it is completely filled-in. Instead of using the enter key to move from field to field, they will need to use either the tab key or the mouse.
Notes
- Created by: Andrew G. Samoilov
- Web Site: http://www.webcheatsheet.com/
- Posted: February 14, 2007
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: disableEnter.js
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document
User Comments
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.

