Zend Form elements in div

I create a form using the Zend form. I have 8 input elements. And I want to place the first 6 elements in one div and the other in the second. How can i do this? I am trying to use addDisplayGroup (), but it was unsuccessful.

Or maybe you know how to create a link in a form?

+5
source share
1 answer

You should probably use a decorator like Zend_Form_Decorator_HtmlTag.

+1
source

All Articles