[Zope] Checkbox Help

Todd Loomis tloomis@dmso.mil
Fri, 10 Aug 2001 11:53:15 -0400


All:

I have a set of check boxes that can be checked if the person is a member. 
My problem is if I pick more than one membership nothing goes into the 
database. So when bring the record up to view or edit I get no boxes 
checked even if they should be, here's my codes:

Form:
<input type="checkbox" name="membership" value="D"> DMSO&nbsp;&nbsp;
<input type="checkbox" name="membership" value="A"> AMG&nbsp;&nbsp;
<input type="checkbox" name="membership" value="E"> EXCIMS&nbsp;&nbsp;
<input type="checkbox" name="membership" value="M"> MSWG&nbsp;&nbsp;<br>
<input type="checkbox" name="membership" value="V"> VV&amp;A TWG&nbsp;&nbsp;
<input type="checkbox" name="membership" value="T"> VV&amp;A TST&nbsp;&nbsp;
<input type="checkbox" name="membership" value="I"> MSTWG&nbsp;&nbsp;

SQL:
<dtml-var membership type="string">

Todd

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Todd Loomis
Web Developer (SAIC)
Defense Modeling & Simulation Office
1901 N. Beauregard Street, Suite 500
Alexandria, VA 22311
Office: 703.824.3407 Fax: 703.379.3778
tloomis@dmso.mil