Problem with radio elements - Quickform / Smarty renderer
| From: | Mos | Date: | Tue, 07 Dec 2004 20:41:36 +0000 |
| Subject: | Problem with radio elements - Quickform / Smarty renderer | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16090@lists.php.net to get a copy of this message | ||
Hi everybody !
I create a form (form_edit) with QuickForm and I set a radio element with
the following code :
$form_edit->addElement('radio', 't_pub', 'Status :
','Yes', '1');
$form_edit->addElement('radio', 't_pub', null,'No',
'0');
I use Smarty as renderer and I have the following template :
{$form_data2.t_pub.label}-{$form_data2.t_pub.label}
But nothing is displayed (label neither radio element..)
Any ideas ?
@+Mos