views:

250

answers:

2

Hello, How can I display more than 1 display group WITHIN a div?

I simply need to show a visual separation - but within the same div.

Is there a way to show more than 1 display group within a div?

for example: to achieve the following in zend forms:

  <div style="width: 100%;">     

       <div style="width: 50%; float: left; padding-left: 20px; padding-bottom: 25px;">
       <fieldset id="fieldset-homeAddressSettings" tag="fieldset" style="">
         <legend> Home address </legend>
        <!-- multiple elements follow -->
        </fieldset>
       </div>
      <div style="width: 50%; float: left; padding-left: 20px; padding-bottom: 25px;">
     <fieldset id="fieldset-officeAddressSettings" tag="fieldset" style="">
         <legend> Office address </legend>
        <!-- multiple elements follow -->
     </fieldset>  
       </div>
  </div>

How can I achieve this in Zend forms?

I have searched and searched and i have not found anything useful so far.

A: 

I worked this one out with JavaScript - it has convinced me that while zend form is good for somethings, its not always the best option. sometimes its just more pain than its worth.

Mallika Iyer
+1  A: 
Ankit Aggarwal