Re: QuickForm addGroup syntax help needed
| From: | Charles Kline | Date: | Sat, 12 Apr 2003 20:50:38 +0000 |
| Subject: | Re: QuickForm addGroup syntax help needed | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4821@lists.php.net to get a copy of this message | ||
Hi There,
I am trying to create a group of select menus. I know how to create them individually, but I am trying to make them a group element, which I can't quite figure out.
Thanks though.
Charles
On Saturday, April 12, 2003, at 04:40 PM, Charles Kline wrote:
Hello, Can anyone tell me how to properly format this group of elements? I think I am close, but the select does not get populated., just displays select with no options. $mesh_select[] = &HTML_QuickForm::createElement('select', $mesh_options); $mesh_select[] = &HTML_QuickForm::createElement('select', $mesh_options); $mesh_select[] = &HTML_QuickForm::createElement('select', $mesh_options); $mesh_select[] = &HTML_QuickForm::createElement('select', $mesh_options); $form->addGroup($mesh_select, 'mesh', 'MeSH Terms:', array('<br />')); Thank you, Charles -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php