Zend_Form_Element_Radio option label should not be escaped
- by sims
I want to include some HTML in the labels of the radio buttons so that the user can click a link within that label. For example
<label for="value-12">
<input name="value" id="value-12" value="12" checked="checked" type="radio">
Doo Bee Dooo Bee Doooo
<a href="somelink">preview this song</a>
</label>
The html keeps getting escaped. I want to stop that. I read about:
array('escape' => false)
Somewhere, but I don't know how to use that with
$value->setMultiOptions($songs);
or
$value->addMultiOptions($songs)
Any ideas? Thanks all!