Re: Radio buttons and Quickform
| From: | Justin Patrin | Date: | Tue, 14 Dec 2004 15:58:15 +0000 |
| Subject: | Re: Radio buttons and Quickform | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16227@lists.php.net to get a copy of this message | ||
On Tue, 14 Dec 2004 08:16:45 +0100, Mos <mos_fr@yahoo.fr> wrote:
> Hi everybody
>
> I have a code using radio buttons in a quickform, but it does not works.
>
> Does anybody have a code snippets which is pretty good, just to see what I
> have forgotten... ?
>
> I use :
> $form_edit->addElement('radio', 't_pub',
> 'test','No', 'no','');
> $form_edit->addElement('radio', 't_pub', null,'No',
> 'no','');
>
> with a template based on
> {$form_data2.t_pub.html}{$form_data2.t_pub.label}
>
> but without success
>
Please don't send the same question more than once.
Does your form show anything?
--
Justin Patrin