Html_Quick Form rule problem

From: Date: Tue, 24 Oct 2006 19:47:06 +0000
Subject: Html_Quick Form rule problem
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25611@lists.php.net to get a copy of this message
I having problem with the following rules. // Define filters and validation rules $ClientLoginForm_obj->addRule('cust_email', 'Email is incorrect', 'email','',''); $ClientLoginForm_obj->addRule('cust_email', 'Email is required', 'required','',''); $ClientLoginForm_obj->addRule('cust_passwd','Password is required', 'required','',''); $ClientLoginForm_obj->addRule('cust_passwd','Password is small', 'minlength','3',''); If i enter a valid email but no password, it some how goes through. It should now allow at all to go forward if any of the fields are blank. Thanks Atif

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