If you don't have a submit button then hitting enter doesn't work.
Tim
The opinions expressed here do not necessarily reflect those of the U.S.
Department of State or any affiliated organization(s). Nor have these
opinions been approved or sanctioned by these organizations. This e-mail is
unclassified based on the definitions in E.O. 12958.
-----Original Message-----
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 4:26 PM
To: CF-Talk
Subject: RE: OT multiple submits and the ENTER key
But that doesn't stop anyone from hitting enter to submit the form. And it
means that JS is required to submit a simple form.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/ <http://www.evoch.com/>
-----Original Message-----
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 2:49 PM
To: CF-Talk
Subject: RE: OT multiple submits and the ENTER key
I would make the buttons type "button" and not reset or submit.
Then make three functions..
function checkKeyPressed(e){
if(e == 13)
return false;
else
return mySubmit(); OR whatever function...
}
function mySubmit(){
}
function myReset(){
}
function myCancel(){
}
-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 2:44 PM
To: CF-Talk
Subject: RE: OT multiple submits and the ENTER key
No, if you hit the "Enter" key on your key board it will submit the form at
any point. That is what I would like to control.
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
-----Original Message-----
From: cfhelp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:07 AM
To: CF-Talk
Subject: RE: OT multiple submits and the ENTER key
Use Tab orders. Then they would have to TAB to the Enter or Reset key.
Rick
_____
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 11:33 AM
To: CF-Talk
I am planning a form that will have CANCEL, SUBMIT and RESET buttons. What
I would like to know is there anyway to control which of these is activated
with the enter key? We would like the CANCEL button to be the default
action if the enter key is pressed, can this be done?
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
_____
_____
_____
_____
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: OT multiple submits and the ENTER key Barney Boisvert
- Re: OT multiple submits and the ENTER key Kevin Graeme
- RE: OT multiple submits and the ENTER key Mosh Teitelbaum
- RE: OT multiple submits and the ENTER key cfhelp
- RE: OT multiple submits and the ENTER key Ian Skinner
- RE: OT multiple submits and the ENTER key Tangorre, Michael
- RE: OT multiple submits and the ENTER key Mosh Teitelbaum
- RE: OT multiple submits and the ENTER key Michael T. Tangorre
- RE: OT multiple submits and the ENTER key Mosh Teitelbaum
- RE: OT multiple submits and the ENTER key Tangorre, Michael
- RE: OT multiple submits and the ENTER key Heald, Tim
- RE: OT multiple submits and the ENTER key Mosh Teitelbaum