Hey Jeremy,

If you use checkboxes then only the values
that are checked will get passed thru. If you
use the same form name for all checkboxes then
the values will get passed thru as a comma list.

eg: red,green,blue

Then you can just loop thu form.colours form
variable on the action template. Thats how i
use checkboxes anyhow..

Regards,
Adam Chapman

Virtualtours.com.au
mailto:[EMAIL PROTECTED]
Phone: 1300 366 122
(Int: +61 3 9720 5733)
Fax: +61 3 9720 6377)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy Watson
Sent: Monday, 6 January 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