Re: form name and submit test
| From: | Alex Earl | Date: | Wed, 11 Jun 2003 16:16:39 +0000 |
| Subject: | Re: form name and submit test | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151103@lists.php.net to get a copy of this message | ||
> At 6/11/2003 09:42 AM, Amanda McComb wrote:
>
> > If I have multiple forms on a page, and each form has it's own name,
> how
> > can I tell which form has submitted?
>
> By its contents.
>
Give the submit buttons different names, then you can test to see which
one is set to see which form was submitted.
Alex