2009年3月26日星期四

Re: [fw-mvc] remove decorator

On Thu, Mar 26, 2009 at 2:40 PM, Ed Lazor
<edlazor@internetarchitects.biz> wrote:
> Hi :)
>
> How do I remove the dt/dd wrapper from a hidden form element?
>
> -Ed
>
>
> My form has:
>
>        $ID = new Zend_Form_Element_Hidden("ID");
>        $ID->removeDecorator('DtDdWrapper');
>        $this->addElement($ID);
>

I use:

$this->addElement('hidden', 'something');

$this->something->removeDecorator('Label');

Hope that helps.

Regards,

--
Rolando Espinoza La fuente
Pro Soft Resources Inc.
www.prosoftpeople.com

没有评论: