If the checkbox is not checked it will not be sent with the form in
HTML.

<cfif IsDefined("CheckboxName")>
        <!--- The checkbox is Checked. --->
<cfelse>
        <!--- The checkbox is Not Checked. --->
</cfif> 


Chuck Weidler
Lockheed Martin Information Technology
3108 Lord Baltimore Drive
Baltimore, MD  21244
Voice:  (443) 348-2169
Fax:    (443) 348-2233
Email:  [EMAIL PROTECTED]

-----Original Message-----
From: John Eubanks [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 12, 2007 12:26 PM
To: CF-Newbie
Subject: Checkbox Question

Quick question:  I have a checkbox on a form.  What is the easiest way
to check and see if it is checked, and if so, process the value.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2516
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to