Re: HTML_Quick FORM not validating and posting
| From: | Mark Wiesemann | Date: | Sun, 19 Mar 2006 17:29:43 +0000 |
| Subject: | Re: HTML_Quick FORM not validating and posting | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23344@lists.php.net to get a copy of this message | ||
Atif Khan wrote:
> I have the following in one code.
>
> *Part 1 *
> $form1 = new HTML_QuickForm("form1", "GET")
> after I validate the form
> I $form1->process('process_data', false);
>
> *Part 2 *
> on process_data I start another form called
> $form2 = new HTML_QuickForm("form2", "GET")
> once that is validated I send it
> to another page using header.
You might want to have a look at the $trackSubmit parameter of the QF
constructor.
HTH,
Mark