Results 1 to 2 of 2
registration form "submitted by" is blank in received email Forum: CGI Perl ForumReplies: 2
input type=hidden name="to" VALUE="firstname.lastname@example.org" Forum: HTML ForumReplies: 1
09-21-2002, 02:15 AM #1
Submitting form without pressing "Enter"
I would like to know whether is it possible to switch off keypress "Enter" for form submission. The reason I want that is because when I press "Enter" the form resets itself and doesn't do anything. I am working on ASP. I am using <input type=submit> instead.
09-21-2002, 04:32 AM #2
Hiya Micho. Welcome to the forums!
Example Code -
<form name="form1" onSubmit="return false">
<input type="button" value="SubmitForm" onClick="document.form1.submit()">
<a href="#" onClick="document.form1.submit()"><img src="button.gif"></a>
If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?