Michel Morelli wrote:
>
>
> $this->getElement('macro')
> ->addMultioption(array_keys($arr),array_values($arr))
> ->setRequired(true)
> ->addDecorator('HtmlTag',array('tag' => 'div', 'class' =>
> 'dec_macro'))
> ;
>
Try $this->getElement('macro')->addMultiOptions($arr);
-----
Jeremy Kendall -- http://www.jeremykendall.net http://www.jeremykendall.net
--
View this message in context:
http://www.nabble.com/Zend_Form%3A-select-element-and-array-of-element-problem-%28not-rendered-in-correct-mod-tp21473892p21476586.html
Sent from the Zend Framework mailing list archive at Nabble.com.