FormBuilder -- add header options to auto-linked select menus
| From: | Sarah Gray | Date: | Wed, 18 Aug 2004 17:58:05 +0000 |
| Subject: | FormBuilder -- add header options to auto-linked select menus | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14164@lists.php.net to get a copy of this message | ||
Hi --
I think this is simple but I'm not sure how to do it.
When you make a linked field in a formBuilder
form through the database.links.ini file,
eg,
[mc_SPs]
ethnicity_id = mc_val_Ethnicities:ethnicity_id
how do you add options to this field (eg a header option
like "Select Ethnicity").
I know how to add options when just using quickform --
$quickForm =& new HTML_QuickForm_select($selectNameField,
$selMenuInfo['LABEL']);
$quickForm->addOption( $selMenuInfo['HEADER_TEXT'], '');
--
but not on these auto-linked fields.
Can someone post an example or explanation?
Much appreciated,
Sarah