This is my first post. So please tell me if this is the wrong place for this. Thanks.
I've the following code:
- Code: Select all
$value = new Zend_Form_Element_Radio('value');
$value->setMultiOptions(array('NULL'=>'None <a href="#">A Link</a>'));
Obviously this does not work. The getDecorator('Label') gets the decorator for the label which comes before all the real radio elements and identifies this group of radio elements. That's not what I want. What I want to do is: disable escaping for the labels for all the radio elements added with setMultiOptions and/or addMultiOptions.
Any ideas? Thanks!