By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,028 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,028 IT Pros & Developers. It's quick & easy.

default form button

P: n/a
I know this is going to be a stupid question, but I'm in a crunch and don't
have time to research it as much as I'd like. How do you tell the web form
which button is the default button. So if a user fills out the form and
hits enter instead of clicking the submit button, the correct button gets
triggered.

In other words I have a web form with a cancel button and a submit button
and when I go into the form the and fill it out and hit enter the cancel
button is getting triggered and not the submit button.

Thanks in advance,

Jason
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I believe the first button on the page will be what gets activated unless you set the focus to something else. This can all be a very tricky process.
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.