How does one add a 'plain text node' to a zend form?

后端 未结 7 554
夕颜
夕颜 2021-02-04 02:41

I\'m trying to add a plain text node in a zend form - the purpose is to only dispay some static text.

The problem is - im not aware of any such way to do it.

I

7条回答
  •  太阳男子
    2021-02-04 03:23

    I faced the same problem and decided is better not to use Zend_Form at all, but to use directly view helpers (like Ruby on Rails does) and validate on the model.

提交回复
热议问题