Recent News

How to create Multiple select element in zend framework?

If you want to add select element that adds multiple options at a time, Mean we can select multiple options then we will add following code snippet in Zend framework form .Then we will show this element in view.
Here is code to add multiple options select element.

‘type’ => ‘ZendFormElementSelect’,
‘name’ => ‘state’,
‘attributes’ => array(
‘multiple’ => ‘multiple’,
‘id’ => ‘amenities’,
‘options’ => array(
‘label’ => ‘state:’,
’empty_option’ => ”,
‘value_options’ => @$arrSelectData[‘states’],

Leave a Reply

Your email address will not be published. Required fields are marked *