Re: [QUICKFORM]
| From: | Matte Edens | Date: | Wed, 18 May 2005 22:18:04 +0000 |
| Subject: | Re: [QUICKFORM] | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19267@lists.php.net to get a copy of this message | ||
If I understand your question correctly, you want a label for the group. You would put the "qwerty" part in the addGroup call.
matte - matte@arubanetworks.com
webmonkey
Sylvain Gourvil wrote:
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