I almost positive that the first INPUT TYPE=submit is the action that the
ENTER key initiates.So as long as your cancel button is first and a submit
button, you should be good to go.
cheers,
barneyb
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October
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
Use the accesskey parameter.
http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-keyboard-access
-Kevin
- Original Message -
From: Ian Skinner [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 11:32 AM
Subject: OT multiple submits and the ENTER key
I am
: 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
(){
}
-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
my logic was off..
if e == 13 run the function you want to run on ENTER
else return false;
-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
Ian:
Pushing enter in a form simply submits the form.This is different from
pushing a submit button to submit a form.Submit buttons (can optionally)
have a name and value associated with them.The name and value of the
button used to submit the form gets sent to the server along with all of the
, 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
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
:25 PM
To: CF-Talk
Subject: RE: OT multiple submits and the ENTER key
If you don't have a submit button then hitting enter doesn't work.
Tim
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
-
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
Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 5:19 PM
To: CF-Talk
Subject: RE: OT multiple submits and the ENTER key
Obviously... he said he wants to control enter not stop it from happening.
Capturing the onKeyDown event solves this as I have showed
12 matches
Mail list logo