Re: Quickform Validation not occuring
| From: | Alexey Borzov | Date: | Sun, 05 Dec 2004 22:35:44 +0000 |
| Subject: | Re: Quickform Validation not occuring | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16028@lists.php.net to get a copy of this message | ||
Hi,
Adam Hubscher wrote:
if ($this->validate()) { $this->process('ProcessNewUser',FALSE); } else{ $this->addElement('text','account','Desired Login (Max 10 characters):', array('size' => 17, 'maxlength' => 13));Is this your actual code? Do you call validate() without building the form first? Do you expect the form object to persist across HTTP requests by means of Ye Black Magick?