Give
same name to all the checkboxes and different values.
<input type="checkbox" name="colour"
value="red">
<input type="checkbox" name="colour"
value="green">
<input
type="checkbox" name="colour"
value="yellow">
assuming red and
yellow are selected by the user,
you will get a
comma seperated list red,yellow/
Try it
!
--------Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy Watson
Sent: Monday, January 06, 2003 2:06 PM
To: CFAussie Mailing List
Subject: [cfaussie] multiple selectsHi guys,Quick question. I have a form with multiple check boxes i.e. tick here to turn on...i.e.Descriptionred xbluegreen xWhen they submit the form I only what the variables that the user has ticked to bepassed to the database.What would be the best way to do this? You know wot i mean?Regards,
Jeremy Watson
ColdFusion Web DeveloperBLABob Littler Agencies Pty Ltd45 Aquarium AvenueHemmant, Queensland 4174Phone: 07 3890 0122Fax: 07 3890 5388****************************************************************
This e-mail, together with any attachments, is intended for the
named recipient(s) only. If you have received this message in
error, you are asked to inform the sender as quickly as possible
and delete this message and any copies of this message from your
computer system network.
Any form of disclosure, modification, distribution and/or
publication of this e-mail message is prohibited. Unless
otherwise stated, this e-mail represents only the views of
the sender and not the views of the Bob Littler Agencies Pty Ltd
****************************************************************---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
