简体   繁体   中英

Zend Form elements in div

I am creating a form, using Zend Form. I have 8 input elements. And I want to placing first 6 elements in one div, and others in second. How I can do this? I am tried to use addDisplayGroup(), but it was unsuccessful.

Or may be you know how to create a link in form?

您应该使用装饰器 ,例如Zend_Form_Decorator_HtmlTag。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM