hi Name the checkboxes differently, or use this <@assign name=CheckBoxArray value=<@arg CheckBoxName type=array> scope=local>
notice the "type=array" part -thijs > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Nicholas Froome > Sent: Thursday, May 09, 2002 3:16 PM > To: Multiple recipients of list witango-talk > Subject: Witango-Talk: embarrassingly simple question re checkboxes in > forms > > > Okay - for the first time I'm using checkboxes in a form. The > problem is that - however many boxes are checked - only one value > is inserted in to the Filemaker database > > Any bright ideas? > > I'm just inserting the form result eg <@ARG 01often> into a text > field in a Filemaker 4 database. The code looks a bit like this > > > > <FORM METHOD="POST" > ACTION="<@CGI><@APPFILE>?page=insert&<@USERREFERENCEARGUMENT>" > enctype="multipart/form-data" name="form1"> > > <!------------- snip --------------> > > <tr> > <td bgcolor="#FFFFFF"><font face="Arial, Helvetica, > sans-serif" size="1"> 1.</font></td> > <td colspan="7" bgcolor="#FFFFFF"><font face="Arial, > Helvetica, sans-serif" size="1">How > often do you purchase die-cast models in a year?</font></td> > </tr> > <tr> > <td bgcolor="#FFFFFF"> </td> > <td bgcolor="#FFFFFF"> </td> > <td bgcolor="#FFFFFF"> > <input type="radio" name="01often" value="monthly"> > </td> > <td bgcolor="#FFFFFF"><font face="Arial, Helvetica, > sans-serif" size="1">Monthly</font></td> > <td bgcolor="#FFFFFF"> > <input type="radio" name="01often" value="quarterly"> > </td> > <td colspan="3" bgcolor="#FFFFFF"><font face="Arial, > Helvetica, sans-serif" size="1">Quarterly</font> > </td> > </tr> > <tr> > <td bgcolor="#FFFFFF"> </td> > <td bgcolor="#FFFFFF"> </td> > <td bgcolor="#FFFFFF"> > <input type="radio" name="01often" value="twice_year"> > </td> > <td bgcolor="#FFFFFF"><font face="Arial, Helvetica, > sans-serif" size="1">Twice > a year</font></td> > <td bgcolor="#FFFFFF"> > <input type="radio" name="01often" value="once_year"> > </td> > <td colspan="3" bgcolor="#FFFFFF"><font face="Arial, > Helvetica, sans-serif" size="1">Once > a year</font></td> > </tr> > > > <!------------- snip --------------> > > </FORM> > > > > > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body > > ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
