Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 809
Alex Pliutau Avatar asked Nov 14 '22 08:11

Alex Pliutau


1 Answers

You should probably use a decorator, such as Zend_Form_Decorator_HtmlTag.

like image 70
Sjoerd Avatar answered Dec 05 '22 15:12

Sjoerd