They all have the same NAME
each checkbox needs a diff name to be pass the value in the postarg

if you want mutually exclusive selection (only one in a group)
use the TYPE=RADIO and keep the same NAME

Ben Johansen - http://www.pcforge.com
Authorized WiTango Reseller
http://www.pcforge.com/WiTangoGoodies.htm
latest beta downloads @ http://www.witango.ws

-----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">&nbsp;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">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</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">&nbsp;</td>
      <td bgcolor="#FFFFFF">&nbsp;</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

Reply via email to