Hello,
is there a way to render a multi select element not as array?
$element = new \Zend_Form_Element_Multiselect('myname');
$element->setMultiOptions($names);
which renders
<select name="myname[]" multiple="multiple">
<option value="o1" label="L 1">L 1</option>
<option value="o2" label="L 2">L 2</option>
</select>
As one can see, "myname[]" has brackets now, which is not desired in my case.
Can the element be configured? I've tried $element->setIsArray(false),
but it doesn't help
Fred
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]