Re: Re[2]: [PHP] Re: Form Submission
| From: | Curt Zirzow | Date: | Wed, 07 Jul 2004 15:20:09 +0000 |
| Subject: | Re: Re[2]: [PHP] Re: Form Submission | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189873@lists.php.net to get a copy of this message | ||
* 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.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!