Thanks. That's what I needed... much appreciated.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Marlon Moyer
Sent: Sunday, May 06, 2001 11:39 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Processing Checkboxes
Michael,
The easiest way I can think of is like so:
<cfquery datasource="blah">
SELECT ItemDescription
FROM tItems
WHERE UPC in (#QuotedValueList(Form.FieldNames)#)
<cfquery>
Then loop through the query to display the items
I can't guarantee the syntax, I'm not at my CF workstation right now.
Marlon
-----Original Message-----
From: Michael Bean
To: [EMAIL PROTECTED]
Sent: 5/6/01 11:20 AM
Subject: Processing Checkboxes
I have a dynamically generated product list and each item in the list
has a
checkbox with it:
<cfinput type="Checkbox" name="#upc#" value="Order">
I want the form processing page to present the customer with a list of
the
items they checked for confirmation. What's the best way to get from
the
checkboxes to the query for the next page? I've tried several things
but
they seem to be awfully convoluted; I'm thinking there must be a more
elegant way.
Michael Bean
Allard, Inc.
------------------------------------------------------------------------
-
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info:
www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org