G
Guest
My form is submitting when the user types a "TAB." Is there a way to avoid
this?
Thank you for the help.
this?
Thank you for the help.
Andrew Murray said:I'd have thought "TAB" would tab through the fields - not submit the form -
at least that's not its default function, so why would scripting be
necessary to *stop* the tab key submitting the form if that is not what it
is supposed to do in the first place?
Stefan B Rusynko said:Not w/o scripting
- add FP form validation to the last field as a required field
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________
| My form is submitting when the user types a "TAB." Is there a way to
avoid
| this?
| Thank you for the help.
Mary said:Exactly, Andrew. I mistakenly put TAB instead of ENTER. It's the ENTER key
that is causing the form to submit. That's the real problem. Sorry about
that.
Andrew Murray said:I'd have thought "TAB" would tab through the fields - not submit the form -
at least that's not its default function, so why would scripting be
necessary to *stop* the tab key submitting the form if that is not what it
is supposed to do in the first place?
Stefan B Rusynko said:Not w/o scripting
- add FP form validation to the last field as a required field
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________
| My form is submitting when the user types a "TAB." Is there a way to
avoid
| this?
| Thank you for the help.
Ronx said:The Enter key will always submit the form, the easiest way to prevent
this is to make the last form field (immediately before the submit
button) a required field. See Stefan's post earlier in this thread.
--