Hello Everybody,

I'm new to ZF and this was my first posting on this forum.

I haven't got any reply to my question and I just wonder if anybody can help
me out with this issue? Even the answer like: "There is no known possible
solution to it" would help :)

Thank you.


cyrilkuch wrote:
> 
> 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-tp18874104p18967504.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to