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

From: Date: Wed, 07 Jul 2004 15:40:59 +0000
Subject: Re: Re[2]: [PHP] Re: Form Submission
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-189875@lists.php.net to get a copy of this message
"Curt Zirzow" <php-general@zirzow.dyndns.org> wrote in message news:20040707152009.GO99175@bagend.shire... > * Thus wrote Torsten Roehr: > > "Curt Zirzow" <php-general@zirzow.dyndns.org> wrote in message > > news:20040706221159.GM99175@bagend.shire... > > > * Thus wrote Torsten Roehr: > > > > > > And if it did, which one does it send? If there are multiple > > > buttons on a page, does it send the one closest to the focused > > > item? or does it send the very first one it finds no matter how the > > > page is visually layed out? > > > > > > > > > > > What do you think? > > > > > > Never rely on button values to decide on a course of action. > > > > Dear Curt and Justin, > > > > thanks for putting so much effort into this topic. Then how do YOU handle > > this? How do you set up your form actions and how do you check them > > regardless of the submit buttons? > > I only have one button on a form, the type of action is based on a > controlled input field that decides on any special actions the > script posted to needs to do. Hi Curt, so you never build forms with more than one button, not even a cancel button? Could you describe "controlled input field" a bit more in detail. Is it just a hidden field with the action as its value? Big thanks in advance. Torsten

« previous php.general (#189875) next »