[PHP] Form won't submit when pressing enter key

2003-01-15 Thread Sarah Heffron
I have a form created by this code (I don't know if it's important): if ($_POST[submit]) { //do form stuff } else { echo html; echo head; echo titleForm/title; echo /head; echo body; echo h3Lookup Customer/h3; echo Enter the customer's uhome/u phone

Re: [PHP] Form won't submit when pressing enter key

2003-01-15 Thread Michael Sims
On Wed, 15 Jan 2003 17:23:26 -0800, you wrote: I have a form created by this code (I don't know if it's important): if ($_POST[submit]) { [...] After you fill out the only field, you HAVE to click the submit button to submit the form. If you press enter to submit the form it reloads the form