Re: Radio buttons and Quickform

From: Date: Tue, 14 Dec 2004 21:57:23 +0000
Subject: Re: Radio buttons and Quickform
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16231@lists.php.net to get a copy of this message
"Justin Patrin" <papercrane@gmail.com> a écrit dans le message de news:432beae0412140758e17d@mail.gmail.com... > 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 Justin, sorry for the several same threads. That was not a choice, the connection was down and Outlook sent me back an error message! No the form show nothing with that code ! If I change the element type (checkbox or other) it works fine. So I am looking for explanations. I would be glad to display two radio buttons to choose for the same filed Yes or No. Mos

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