Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Presssing Enter Button Problem

Status
Not open for further replies.

RushiShroff

Programmer
Jan 23, 2002
216
IN
On my page I have 2 submit buttons.

1) On the top to give search option -category wise near a textbox to enter keywords.

2) My login option in the middle of the page.

Now IF I press enter button in search box after entering something,
it takes me to search.asp

If I press enter button after entering login and password,
It again takes me to search.asp.
Here lies the problem.I want it to go to login.asp.

HERE I AM NOT CLICKING BUTTONS BUT PRESS 'ENTER' AFTER ENTERING VALUES IN TEXTBOXES.

How can I do this ?
s-)
Regards,
Rushi
emqube.com
 
Put 2 forms ..

1st form for search controls
2nd form for login

so each form will have only one submit button...
i don't know whether it works but just a try. I would like to know if it worked...

srinu...
 
Boss it may work
Earlier i had same mechanism but my lay out designer had a problem with 2 forms as it occupies extra space and lay out is disturbed..

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top