Re: QF: multiple forms on 1 page?
| From: | Tizzle | Date: | Fri, 02 Jul 2004 15:39:59 +0000 |
| Subject: | Re: QF: multiple forms on 1 page? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13464@lists.php.net to get a copy of this message | ||
Thanks Bertrand! that fixed it.
On Fri, 2 Jul 2004 16:18:29 +0200, Bertrand Mansion
<bmansion@mamasam.com> wrote:
>
>
> 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
>