Default submit button

C

Chip

This seems terribly basic, but can't find any posts on it. I have several
submit buttons on my form and at the very least, I'd like to make NONE of
them the default (hitting Enter) button. At best, I'd like to tie each
button to the text field it's associated with. Right now, I have no control
over which button fires when I hit Enter, and it's defaulted on a
"dangerous" button right now. Help.

Chip
 
Y

Yunus Emre ALPÖZEN [MCAD.NET]

When enter key is pressed, first button is submitted automatically by the
browser.
You can use link button instead of buttons
or
You can add a button as first button which does nothing and never cause to
post and never seen by the user
 

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

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top