[QuickForm] require rule on one radio button

From: Date: Thu, 01 Dec 2005 21:41:19 +0000
Subject: [QuickForm] require rule on one radio button
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22127@lists.php.net to get a copy of this message
I have one radio button that I wanted the user to check for an agreement, and when I set the following rule on it, even if I chek it it still gives me the required javascript. Did I set the rule incorrectly? $artist_app->addElement('radio', 'agree', 'I agree', NULL, 'agree' ); $artist_app->addRule('agree', 'You must agree to terms', 'required', null, 'client'); ---------------------- Mark Steudel Web Developer 555 Dayton St. Suite A Edmonds, WA 98020 c: 206.226.4354 f: 425.697.2862 http://www.netriver.net <http://www.netriver.net/>

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