-- Jonathan <[EMAIL PROTECTED]> wrote
(on Monday, 02 June 2008, 03:46 PM -0400):
> I am using XML files for all my forms (contracts), and I have a couple of
> form elements that are SELECTS...however, I cannot figure out a way to pass
> an array of options into the XML file that contains the elements. Is the
> controller my only option?
You need to pass them as the 'multiOptions' options key in your config
file:
<element>
<type>select</type>
<options>
<multiOptions>
<key1>value1</key1>
<key2>value2</key2>
</multiOptions>
</options>
</element>
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend Framework | http://framework.zend.com/