Submit button is not working properly whit the ENTER button


G

Guest

Hi, I have several forms in my site. At the end of the form I have a submit
button that works perfectly, but when someone presses the ENTER button of the
key board, filling in the form to pass to another field, the form is
submitted immediately. How can I disable the enter button of the key board so
this doesn’t happen again? Please someone help me! Thank you!.
 
Ad

Advertisements

T

Thomas A. Rowe

1. This is normal of the Enter key for HTML forms.

2. The easiest solution is to create a text field at the end of the form where the user is required
to enter something right before the Submit button, this is enforced by using FP's Form Field
Validation.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Ad

Advertisements

P

p c

Use TAB to move to between fields. Do not use ENTER for that. Enter in
Textrea creates another line. But if you are not in textarea field it
submits the form.

Form validation will catch accidnetal (and nrmal) submits for verifcation.

...PC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top