Default submit button

  • Thread starter Thread starter fragmonster
  • Start date Start date
F

fragmonster

Hi, I have a "long time" problem with submit buttons. On my home page,
I have 3 .ascx : The first is the login form, the second is the search
form and the last is a form which submit some data to the datatbase.

My problem is that when I fill the third form and when I hit the
"enter" key, my first form is submitted instead the third one. This
trouble doesn't appear if I press the submit button of this third form
(beacause I have an event handler beside).

How can I do to force a form to be submitted when I hit the "enter"
key?

Thanks
 
Back
Top