Re: Re[2]: [PHP] Re: Form Submission

From: Date: Tue, 06 Jul 2004 16:15:17 +0000
Subject: Re: Re[2]: [PHP] Re: Form Submission
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-189804@lists.php.net to get a copy of this message
"Richard Davey" <rich@launchcode.co.uk> wrote in message news:305260220.20040706164411@launchcode.co.uk... > Hello Jason, > > Tuesday, July 6, 2004, 2:37:08 PM, you wrote: > > JW> It might not be a good idea to rely on the "submit" button to be set. Some > JW> browsers do not set/send it if you didn't explicitly click on the "submit" > JW> button. I would use: > > Absolutely. If you hit ENTER to submit a form (rather than click the > button) you often don't get sent the button value. > > Best regards, > > Richard Davey I never had this problem. Usually the first submit button will come into effect when hitting enter. And my question remains: How do you check which button was pressed (read: which action should be performed) when not relying on this? Regards, Torsten

« previous php.general (#189804) next »