Re: HTML_QuickForm
| From: | Mark Wiesemann | Date: | Sun, 26 Feb 2006 18:18:39 +0000 |
| Subject: | Re: HTML_QuickForm | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23131@lists.php.net to get a copy of this message | ||
akhan wrote:
> When I try to post to another page test.html, HTML_QuickForm does not seem to
> validate the form.
>
> <?php
> require_once("HTML/QuickForm.php");
>
> // Create new instance - Form
> $Form = new HTML_QuickForm("Form1", "POST", 'test.html');
This can't work as you expect. The form target needs to be script where
the form is defined. After validating the form, you can redirect to your
test.html (or include it).
HTH,
Mark