Re: Quickform Validation not occuring

From: Date: Sun, 05 Dec 2004 22:40:35 +0000
Subject: Re: Quickform Validation not occuring
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16029@lists.php.net to get a copy of this message
Adam Hubscher wrote:
if ($this->validate()) { $this->process('ProcessNewUser',FALSE); } else{ $this->addElement('text','account','Desired Login (Max 10 characters):',
hm, this doesn't seem to make any sense to me. you validate first, then add the rules - how is the validator supposed to know how to validate? cheers mb -- /* no comment */ Please use my public PGP key: http://www.mbant.de/mbant-gpg-key

« previous php.pear.general (#16029) next »