Hit Enter

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have pages with Submit buttons, but many people just hit the "Enter" button. How can I detect that to direct them to the same URL?
 
I'm not following you. In a form, the Enter key usually submits the form.
What exactly do you want it to do otherwise?

--
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Dick C. said:
I have pages with Submit buttons, but many people just hit the "Enter"
button. How can I detect that to direct them to the same URL?
 
Dick,

Kevin is right, pressing enter activates submit.

If you are talking about a standard submit button, then
the user should be taken to the same location or go to the
validation failure page.

If you would like to disable the submit button, I have a
sample and link here ...

http://www.frontpageforms.com/Disable_Enter_as_Submit.htm

Mike,
http://FrontPageForms.com
Form Tutorials & Form Script Examples
-----Original Message-----
I have pages with Submit buttons, but many people just
hit the "Enter" button. How can I detect that to direct
them to the same URL?
 
Back
Top