faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Common Problems : forms and user input

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

74 of 134 people (55%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Is there a simple way to disable the enter key for a form?

May 12th, 2000 01:21
unknown unknown, Nick Abbot


Change the submit button from type=submit to type=button.  Place an
onclick event behind this that submits the form using formname.submit



© 1999-2004 Synop Pty Ltd