QuickForm addGroup syntax help needed
| From: | Charles Kline | Date: | Sat, 12 Apr 2003 20:40:13 +0000 |
| Subject: | QuickForm addGroup syntax help needed | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4819@lists.php.net to get a copy of this message | ||
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