-- Peter Atkins <[EMAIL PROTECTED]> wrote
(on Friday, 08 February 2008, 01:22 PM -0800):
> How do I set my options for my select in my ini file? In the second example 
> it makes sense but I could not find any examples for ini files.
>
> My usage example:
>
> ccard.form.elements.card_xmonth.type = "multiselect"
> ccard.form.elements.card_xmonth.options.label = "Expiration Month: "
> ccard.form.elements.card_xmonth.options.required = true
> ccard.form.elements.card_xmonth.options.select =  ????

    ccard.form.elements.card_xmonth.options.multiOptions.<key> = <value>

The various elements that extend Zend_Form_Element_Multi all have
accessors for 'multiOptions', which contains the key/value pairs used to
create the options list.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to