Re: [fw-general] Override escape value for certain subform elements
Thanks Chris On Tue, Mar 3, 2009 at 9:28 AM, Chris MacPherson 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 kwy...@gmail.com http://www.corywiles.com/ http://www.randomthoughtprocess.com/
Re: [fw-general] Override escape value for certain subform elements
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);
[fw-general] Override escape value for certain subform elements
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); -- View this message in context: http://www.nabble.com/Override-escape-value-for-certain-subform-elements-tp22293199p22293199.html Sent from the Zend Framework mailing list archive at Nabble.com.