Simplest thing to do is remove the submit button, and replace it with an
input type="button" that has an onclick to submit the form, something like.

<input type="button" value="Submit" onclick="javascript:this.value='Please
Wait';this.disabled=1;document.forms[0].submit()">


-----Original Message-----
From: Larry Juncker [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 30, 2002 2:18 PM
To: CF-Talk
Subject: Preventing IE 6 from submitting a form on click of Enter

I have tried some code on IRT .org that is supposed to prevent IE from
submitting a form on hitting enter, however it is not working.

Can someone shoot me a snippet of code to prevent IE from submitting on
click of
enter.

Thanks in advance

Larry Juncker
Senior Cold Fusion Developer
Heartland Communications Group, Inc.
[EMAIL PROTECTED]

CONFIDENTIALITY NOTICE
The information contained in this e-mail is intended only for the use of the
individual or entity to which it is addressed.  This e-mail may contain
information that is privileged, confidential, and/or personal. If the reader
of
this message is not the intended recipient (or the employee or agent
responsible
to deliver it to the intended recipient), you are hereby notified that any
dissemination, distribution, or  copying of this communication is
prohibited.
If you have received this communication in error, please notify us at the
email
listed above.


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to