"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Torsten Roehr: > > "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > * 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php