Hello,

I'm using Cocoon2.2 and I would like to layout forms (with CForms) on 3 or 4 columns and many rows, with aligned labels and fields. Like this example : http://alliage.ch/formulaire.html but with 3 columns, and separating rows with fieldsets.

I can do it by doing :

<tr>
   <td>
       <fi:group>
        <fi:styling layout="columns">

            <fi:items>
              <ft:widget id="name"/>
              <ft:widget id="surname"/>
              <ft:widget id="birthday"/>
            </fi:items>
        </fi:group>
  </td>
</tr>
<tr>
        <td>
                ...
        </td>
</tr>
<tr>
        <td>...</td>
</tr>


But it's not very flexible...
Is there a simple way doing it with CForms or do I need modify the XSL 
forms-samples-styling ?

Thanks.


Reply via email to