How to prevent Form submission if users hit enter.

Giganews Newsgroups
Subject: How to prevent Form submission if users hit enter.
Posted by:  pamelachatterj…@yahoo.com (Pamela Chatterjee)
Date: 23 Oct 2003

In my Web Form I have more than one Textbox for user input. If I hit
enter to any Textbox its submitting the form. How can I prevent Form
submission if users hit enter to the textbox? I want to submit the
form only when user will hit submit button.

Thanks for any help.

Replies