Re: multiple forms with HTML_Quick form
| From: | Justin Patrin | Date: | Thu, 09 Mar 2006 19:25:03 +0000 |
| Subject: | Re: multiple forms with HTML_Quick form | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23252@lists.php.net to get a copy of this message | ||
On 3/9/06, Atif Khan <wequar98@gmail.com> wrote:
> $ClientForm1 = new HTML_QuickForm('clientForm1', 'GET',null,null,null,
> TRUE);
> $ClientForm2 = new HTML_QuickForm('clientForm2', 'GET',null,null,null,
> TRUE);
>
That looks about right, it should mean that ->validate() only works on
the form which was submitted.
> Is this correct.
>
> Thanks
> Atif K
>
> Justin Patrin wrote:
> > On 3/9/06, Atif Khan <wequar98@gmail.com> wrote:
> >
> >> Are there any example of using
> >> multiple forms in the same page ?
> >>
> >> It seems like, track submit does not work.
> >>
> >> When submitting the form it still tries to validate other forms.
> >>
> >>
> >
> > Then you're likely not setting the right constructor parameter to true.
> >
> > --
> > Justin Patrin
> >
> >
>
--
Justin Patrin