[QUICKFORM]
| From: | Sylvain Gourvil | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | [QUICKFORM] | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19254@lists.php.net to get a copy of this message | ||
-------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