How to create multiple select box with Zend Framework?
-
28-04-2021 - |
Pregunta
Zend Framework has Zend_Form_Element_Multiselect element. But I haven't found any examples how to extend it and create a multiple select box which example is represented here: http://www.dhtmlgoodies.com/?whichScript=multiple_select
Maybe someone has done it and could share its own helper or provide an advice how to create multiple select box with Zend Framework ? Thank you!
Solución
Try,
$this->addElement('MultiCheckbox', 'element-name', array(
'label' => 'Multiple Checkboxex',
'class'=>'example-class',
));
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow