I want know how to add custom attribute for option in a select field of Zend form.
PHP:
$option_values = array(\"multiOptions\" => array( \"US
No need for custom form element at all, what u can do is: $element->setAttrib('disable', array(1, 2, 5));
As explained at http://pietervogelaar.nl/set-attribute-on-select-option-with-zend_form/