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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enter key and forms

Status
Not open for further replies.

pfrancis

Programmer
Mar 18, 2004
19
US
Hi and Thanks in advance for any help you can provide me.

I created a page using PHP and I echo in a form. If I use the submit button to accept the inputs for the form, everything works just fine. However, if press the Enter key on any of the fields to accept the inputs from the form, nothing works. Is this an PHP problem or is this an HTML problem? How can I fix this?

Again, Thanks

-pfrancis
 
html, capture the keypress with some clientside javascript and have a function to submit the form...search the JS forum, this has been asked before
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top