Hi,

Yes I think you have it correct there, I have been using this the same way so I could use html in my form description.

$formElement->getDecorator('Description')->setOption('escape', false);


.Chris


kwylez wrote:
How do I override the 'escape' value for a given element inside of a subForm?

Is this correct?
$this->getSubForm('shiptoaddress')->getElement('country')->addDecorator('Errors')->setOption('escape',false);

Reply via email to