Hi
I am looking for an easier way to accomplish this (basically a checkbox or radio multi in a table):
<formtemplate id="edit_ad">
<table>
<formgroup id=match_orientation cols=3>
<if @formgroup.col@ eq 1>
<!-- Begin row, i.e. <tr> -->
<tr>
</if>
<!-- Cell layout, i.e. <td>...</td> -->
<td>
<!-- Cells may be unoccupied at the end. -->
<if @formgroup.rownum@ le @formgroup:rowcount@>
@formgroup.widget@ @formgroup.label@
</if>
<else>
<!-- Placeholder to retain cell formatting -->
</else>
</td>
<if @formgroup.col@ eq "n">
<!-- End row, i.e. </tr> -->
</tr>
</if>
</formgroup>
</table><br>
</formtemplate>
It would be great if such a widget already existed in the template::widget namespace. Then I could simply use
formtemplate
tag in my adp. I don't want to have to do
formgroup
tags and
formwidget
tags for all my elements in my form. It's a big form:(
Has anyone a widget like this in their private toolbox they'd consider loaning me?!!!
thanks;)