Title: Message
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 selects

Hi guys,
 
Quick question. I have a form with multiple check boxes i.e. tick here to turn on...i.e.
 
Description       
red                    x
blue                   
green                x
 
When they submit the form I only what the variables that the user has ticked to be
passed to the database.
 
What would be the best way to do this? You know wot i mean?
 
Regards,
Jeremy Watson
ColdFusion Web Developer
 
BLA
Bob Littler Agencies Pty Ltd
45 Aquarium Avenue
Hemmant, Queensland 4174
 
Phone: 07 3890 0122
Fax:     07 3890 5388
 
www.bla.com.au
www.humminbird.com.au
www.minnkota.com.au
****************************************************************
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/

Reply via email to