Html_Quick Form

From: Date: Tue, 24 Oct 2006 19:06:16 +0000
Subject: Html_Quick Form
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25606@lists.php.net to get a copy of this message
I havign problem with this rules. If i enter a valid email but no password, it goes through. It should now allow at all to go forward if any of the fields are blank. // 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','');

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