checkbox does not work in field group

Archived from the Xataface Users forum.

krmillerbil — Fri Oct 14, 2011 10:07 pm

I have two groups of check boxes that work outside of a field group, but when inside a field group they do not display

field.ini code for non working check boxes

Code: Select all
`[VolunteerTo]
widget:label = “Volunteered To”
widget:type = checkbox
vocabulary = VolunteerTo
group=PersonalInformation
order=21

[Position]
widget:label = “Staff and Volunteer Positions”
widget:type=checkbox
vocabulary=Position
group=PersonalInformation
order=22`

code from PersonalInformation.html

Code: Select all
`<table width="100%">
   

    <tr>
    <th>Employer:</th>
    <td>{$elements.Emplorer.html}</td>
    <th>Occupation:</th>
    <td>{$elements.Position.html}</td>
    <th>Spouse’s Name</th>
    <td>{$elements.SpouseName.html}</td>
   
</tr>   
    <th>Donor:</th>
    <td>{$elements.Donor.html}</td>
   
    <th>Supporter:</th>
    <td>{$elements.SupportsKen.html}</td>
   
    <th>Date First Registered:</th>
    <td>{$elements.DateFirstRegistered.html}</td>

   Volunteered to:     {$elements.VolunteerTo.html}        Staff and Campaign Positions     {$elements.Position.html}         Notes:     {$elements.Notes.html}        

     <tr>
    <th>Total Primary Donation(cannot be changed)</th>
    <td ></font>{$elements.TotalPrimaryDonation.html}</td>
    <th>Total General Donation(cannot be changed)</th>
    <td >{$elements.TotalGeneralDonation.html}</font></td>
    </tr>
   
</table>`

code from values.ini

Code: Select all
`` [Position]
sql = “SELECT PositionID, PositionName FROM Positions”

[VolunteerTo]
sql= “SELECT ActivityID,ActivityName FROM Activities” ``

If I do not include them in the “group=PersonalInformation” the check boxes show up under the Detail Edit.

Any help would be appreciated.