Re: Quickform - 2 quick questions
| From: | Justin Patrin | Date: | Mon, 19 Dec 2005 21:58:59 +0000 |
| Subject: | Re: Quickform - 2 quick questions | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22316@lists.php.net to get a copy of this message | ||
On 12/19/05, l Burnerheimerton <lburnerheimerton@yahoo.com> wrote:
> 1--Can you have more than one QF form on one page? If
> so, how?
>
Yes. Just make multiple instances. You'll also probably want to use
the track_submit option in the constructor.
> 2--I like the validation of QF but can you redirect
> post/get to another page after validation? If so,
> how?
>
You can redirect a GET form using a simple redirect. For POST you'd
have to either do it internally with something like HTTP_Request or
use JS to make the browser submit.
--
Justin Patrin