Re: QF: multiple forms on 1 page?
| From: | Bertrand Mansion | Date: | Fri, 02 Jul 2004 14:18:29 +0000 |
| Subject: | Re: QF: multiple forms on 1 page? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13462@lists.php.net to get a copy of this message | ||
Tizzle wrote:
>The pages of a project i'm working on use QuickForm for a login form
>on each page and some pages have multiple forms on the same page. The
>problem i get is that when one of the forms is submitted the required
>rules for the other forms on the page are triggered too.
>If for instance i submit the mail form on one of the pages the login
>form on the same page comes back with (server side) required field
>errors... I couldn't find anything on multiple forms in the docs....
In the constructor, look at $trackSubmit.
http://pear.php.net/manual/en/package.html.html-quickform.html-quickform.html-
quickform.php
Bertrand Mansion
Mamasam