Hi, I have a classic asp page with two buttons, one for LOGON and another for REGISTER. I have named both buttons as "bsubmit" so I can query the value to determine which button is pressed. That works fine.. But when the user presses ENTER, I want the LOGON button to trigger instead of the REGISTER button.
This page has a hidden input tag also with a name ='action'. It seems when pressing ENTER, the first button on the page is activated (which is REGISTER). How can I fix this to trigger LOGON on ENTER?
The hidden and two button definitions follow:
response.write "<input type='hidden' name='action' value='" & dictEnvironment("V-ACTION") & "'>" & CRLF
response.write "<input class='bbsbutton margintop12px' type='submit' name='bsubmit' value='Guest Register'><br/>" & CRLF
response.write "<input class='bbsbutton' type='submit' name='bsubmit' value='Forum Logon'> <br/>" & CRLF
Thank you, James