HTML QuickForm setGroupRule asterisk*bug

From: Date: Fri, 05 Sep 2003 17:43:57 +0000
Subject: HTML QuickForm setGroupRule asterisk*bug
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7601@lists.php.net to get a copy of this message
Hello. I added a group validation rule for a telephone number group containing fields for area code, prefix and suffix. I want the group to display as a required field, but the asterisk doesn't appear next to the group label on my form. The group _is_ validated properly according to the assigned rule and my other required fields are displaying the asterisk properly. code: $rule ['area'][] = array( 'Your area code is required.' ,'required' ); $rule ['area'][] = array( 'Numbers only.' ,'numeric' ); $rule ['area'][] = array( 'Area code must be 3 digits long.' ,'rangelength' ,'3' ); $rule ['pre'][] = array( 'Your telephone prefix is required.' ,'required' ); $rule ['pre'][] = array( 'Numbers only.' ,'numeric' ); $rule ['pre'][] = array( 'Prefix must be 3 digits long.' ,'rangelength' ,'3' ); $rule ['suf'][] = array( 'Your telephone suffix is required.' ,'required' ); $rule ['suf'][] = array( 'Numbers only.' ,'numeric' ); $rule ['suf'][] = array( 'Suffix must be 4 digits long.' ,'rangelength' ,'4' ); $form -> addGroupRule ('hmphone' ,$rule ); Any thoughts on making the asterisk char display near the group label? Thanks in advance, Barry __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

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