Thanks Chris

On Tue, Mar 3, 2009 at 9:28 AM, Chris MacPherson <[email protected]>wrote:

> 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);
>>
>>
>>
>


-- 
Cory Wiles
[email protected]
http://www.corywiles.com/
http://www.randomthoughtprocess.com/

Reply via email to