G Guest Nov 25, 2003 #1 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 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?
K Kevin Spencer Nov 25, 2003 #2 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" Click to expand... 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" Click to expand... button. How can I detect that to direct them to the same URL?
F FrontpageForms Nov 25, 2003 #3 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 Click to expand... 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 Click to expand... hit the "Enter" button. How can I detect that to direct them to the same URL?