> -----Original Message----- > From: Rob Roudebush [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 2002 3:29 PM > To: cgi cgi-list > Subject: Capturing <carriage return> signal to cgi form > > > > Does anyone know how to capture the carriage return to > prevent a user from accidentally submitting the form by > pressing 'return' before they actually finish completing the form?
Don't use a submit button; use a regular button instead. <input type="button" value="Submit" onclick="document.forms[0].submit()"> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]