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);
But the resulting output is still:
<dt> </dt>
<dd>
<input type="hidden" name="ID" value="7" id="ID"></dd>
没有评论:
发表评论