Forum OpenACS Development: Problem with <formgroup>

Request notifications

Collapse
Posted by Juan Carlos on
Im trying to display the fields of an ad_form, and one of them is a list of checkboxes. I tried to call it using.
<table>
                <formgroup id="areas">
                        <tr>
                            <td>@formgroup.widget@</td>
                            <td>@formgroup.label@</td>
                        </tr>
                    </formgroup>
</table>

However it displays this in the page:

<input type="checkbox" name="areas" value="1191" id="filter_form:elements:areas:1191" >    Red
<input type="checkbox" name="areas" value="1195" id="filter_form:elements:areas:1195" >    Green
<input type="checkbox" name="areas" value="1193" id="filter_form:elements:areas:1193" >    Blue

What can I do?