Re: QuickForm + ITDynamic renderer: problem with required radio button

From: Date: Fri, 07 Mar 2008 15:30:10 +0000
Subject: Re: QuickForm + ITDynamic renderer: problem with required radio button
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28615@lists.php.net to get a copy of this message
Il giorno venerdì 07 marzo 2008, Cesare D'Amico ha scritto: > > $radio_options = array('0'=>'I like QuickForm', > > '1'=>'I love > > QuickForm'); $element =& $form->addElement('altselect', > > 'field_name', 'Label Options', $radio_options); > > $element->setDelimiter(''); $form->addRule('field_name', > > 'Please > > select an option', 'required', null, 'client'); > > I didn't know about the altselect element, thanks a lot for the hint! Er, I can't find the altselect in the docs online, do you have any link where I could document myself? Thanks again ;) ce -- Cesare D'Amico | Gruppo Volta Area tecnica | Web & Mkt Solutions Tel: 045 21 000 84 | Via Leida 8 - Verona Fax: 045 21 000 85 | http://www.gruppovolta.it

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