-- Koph Digital <[email protected]> wrote
(on Tuesday, 15 September 2009, 11:38 PM +0100):
> I’m trying to create a form using Zend_Form and Zend_Config_Ini, however, I’m
> having trouble creating a select list.
>
> How do you add options to the select list using the the config file format?
>
> elements.test.type = "select"
> elements.test.options.label = "Test"
> elements.test.options.required = true
Use the configuration key "multiOptions":
elements.test.options.multiOptions.foo = "Foo"
--
Matthew Weier O'Phinney
Project Lead | [email protected]
Zend Framework | http://framework.zend.com/