Is it possible to disable individual options in a Zend_Form_Element_Radio
? That is, I'd like to add disabled="disabled"
to certain input tags.
Does the Zend Framework include this functionality? Or is there another way to accomplish this?
Is it possible to disable individual options in a Zend_Form_Element_Radio
? That is, I'd like to add disabled="disabled"
to certain input tags.
Does the Zend Framework include this functionality? Or is there another way to accomplish this?
If I understand the question correctly, then the answer is, it is impossible. See:
Yes, it is possible:
$element->setMultiOptions(array (
'songs' => 'songs',
'lyrics' => 'lyrics',
'artists' => 'artists'
));
$element->setAttrib('disable', array('lyrics', 'songs'));