RE: [PHP] multiple submit buttons
| From: | Samantha Savvakis | Date: | Wed, 20 Dec 2000 06:32:48 +0000 |
| Subject: | RE: [PHP] multiple submit buttons | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31162@lists.php.net to get a copy of this message | ||
> Sounds like a browser issue. If PHP isn't receiving a value for submit,
> it's possible IE isn't sending one. If you use method="get" rather than
> post, you can see if a value for submit is being passed. If not, there's
> probably very little you can do. Maybe a bit of Javascript on the text
> field that sets a submit value, an onChange or something? (Says the person
> with no JS experience whatsoever)
Yeah, I'd say Javascript would be the way to go to ensure that the default
button that is pressed is recognised.
Thing is ... if it is a browser issue, how does it realise that the default
button has been pressed and that it is a submit button? Surely PHP picks
this up right? Unless it's just sending a reload page or the "FORM ACTION"
on a default button hit?
ahh.. it's just annoying :)