Re: 2 Forms On 1 Page
| From: | Kurt Lieber | Date: | Sat, 03 Nov 2001 19:57:16 +0000 |
| Subject: | Re: 2 Forms On 1 Page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73350@lists.php.net to get a copy of this message | ||
On Saturday 03 November 2001 11:28 am, you wrote:
> If I have two forms on one page that both use the same script how
> do I get only the fields on one of the forms to be submitted? If that
> makes any sense.
> Jeff Oien
as long as you enclose each form within it's own set of <form>...</form> tags
and make sure the submit button for each form is within those tags, it should
only submit one form at a time. (also make sure that you don't assign the
same "name=" parameter to both forms)
--kurt