RE: [PEAR] QuickForm basics
| From: | Mike Carter | Date: | Wed, 01 Oct 2003 15:17:39 +0000 |
| Subject: | RE: [PEAR] QuickForm basics | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8183@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Keith Pettit [mailto:keith@setuplinux.com]
>
> HTML_QuickForm_Controller looks promising, but what I'm doing
> is pretty
> simple.
>
> I just want to know how to submit the form. This is probally a more
> simple question than people are used to.
>
> I'm using the examples included with quickforms, which of couse only
> submit to themselves.
>
> Below is the code I'm using. WHere do I put in this code where to
> submit the form too when it validated? The page I want to
> submit to is
> "client.php" and I've tried putting that in various places without
> getting it to work right.
I'd imagine you'd set it in the forms action="" attribute. This can be
set during the constructor of the QF...
http://pear.php.net/manual/en/package.html.html-quickform.html-quickform
.html-quickform.php
However if you wish to execute server side validation, before, going on
to the next page - hmm, well I'm not sure of the prefered way of doing
that! The examples are a bit bare.
Regards,
Mike c.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________