Hi,
Is there any way to disable escaping for multicheckbox options ?
I'm creating a multi checkbox element with linked options like this:
$element = new Zend_Form_Element_MultiCheckbox('foo', array(
'multiOptions' => array(
'foo' => '<a href="#">Foo Option</a>',
'bar' => '<a href="#">Bar Option</a>',
'baz' => '<a href="#">Baz Option</a>',
'bat' => '<a href="#">Bat Option</a>',
);
));
When the multi checkbox is displayed links are escaped.
I tried to remove escaping for multi checkbox like this:
$label = $element->getDecorator('label');
$label->setOption('escape', false);
but this applies only to multi checkbox's label but not to it's options.
Thank you.
--
View this message in context:
http://www.nabble.com/Multi-Checkbox-options-escaping-tp18874104p18874104.html
Sent from the Zend Framework mailing list archive at Nabble.com.