Re: [QUICKFORM]
| From: | Justin Patrin | Date: | Wed, 18 May 2005 16:40:01 +0000 |
| Subject: | Re: [QUICKFORM] | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19269@lists.php.net to get a copy of this message | ||
It's not possible with the default renderer. You can always hack the
renderer to do it.
On 5/18/05, Sylvain Gourvil <opensource_france@yahoo.fr> wrote:
>
>
>
>
> -------Message original-------
>
>
> De : Sylvain Gourvil
> Date : 05/18/05 14:59:00
> A : pear-general@lists.php.net
> Sujet : [PEAR][QUICKFORM]
>
>
> Hi folks !
>
> I have this sript :
>
> -----------------------------------------------------------------------------------------------------------------------------
> $country[] = &$form->createElement("select", "country");
> $country[] = &$form->createElement("text", "country",
> "qwerty");
> $country[0]->loadArray($list['country']);
> $form->addGroup($country);
>
> -----------------------------------------------------------------------------------------------------------------------------
>
> I would like each element of the group "country" to have a label but I do no
> know how ti implement it. Fo example, the text element of the group has no
> label even if I ask for "qwerty".
>
> Does someone know how to do it.
>
> Thanks in advance
>
>
>
--
Justin Patrin