Zend Framework: How do I remove the decorators on a Zend Form Hidden Element?

后端 未结 11 1728
说谎
说谎 2020-12-23 00:07

I\'m trying to remove the default decorators on a hidden form element. By default, the hidden element is displayed like this:

Hidden Element Label
11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-23 00:16

    here is what takeme2web from http://www.phpfreaks.com/forums/index.php?topic=225848.0 suggests

    $yourhiddenzendformelement->setDecorators(array('ViewHelper'));

提交回复
热议问题