Re: QuickForm basics
| From: | Alexey Borzov | Date: | Wed, 01 Oct 2003 15:09:12 +0000 |
| Subject: | Re: QuickForm basics | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8186@lists.php.net to get a copy of this message | ||
Hi!
Keith Pettit wrote:
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.You set the form's action in the constructor: http://pear.php.net/manual/en/package.html.html-quickform.html-quickform.html-quickform.php But the QuickForm-based forms usually submit to the same page for a reason: you'll have to create the same form in client.php to be able to validate() it.