Re: HTML_QuickForm
| From: | chris smith | Date: | Sun, 26 Feb 2006 00:33:07 +0000 |
| Subject: | Re: HTML_QuickForm | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231085@lists.php.net to get a copy of this message | ||
On 2/26/06, Atif Khan <wequar98@gmail.com> wrote:
> Hello there, I am having an issue with HTML_QuickForm.
> When I try to send the form to another page, it does not
> seem to validate the form.
>
> Any suggestions.
>
>
>
> // Load the main class
>
> require_once 'HTML/QuickForm.php';
>
> // Instantiate the HTML_QuickForm object
>
> $form = new HTML_QuickForm('firstForm', 'get',
> './somepage.html');
>
> ---- ELEMENTS / RULES ----
>
> // validate form
>
> if ($form->validate()) {
>
> ?? $form->submitValues();
>
> exit;
>
> }
I don't have an answer for you but you might be better off asking the pear list:
http://pear.php.net/support/lists.php