Thank you for the quick response....

The only problem is that these options are being pulled from a database. 
(They are makes of vehicles, TOYO, FORD, DODG, etc. etc.), and there are 
hundreds of models.

So basically, I make my database call to get the Makes and Models of 
vehicles, but I need to store them in an array and put them in the select 
elements in my forms.



Thank you again...


"Matthew Weier O'Phinney" <[EMAIL PROTECTED]> wrote in 
message news:[EMAIL PROTECTED]
> -- 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/
> 



Reply via email to