This question seemed to be asked a couple of times but I can't find the
answer anymore.
I have 5 checkbox as variables which I want to update.
let us say a,b,c,d,e
The variables are stored in a database-table as integers. a,b,c,d,e can each
be 0 or 1.
How can I ask wheather the checkbox is checked and passing the right value
to the update-template ?
The following for a is not working
<input type="checkbox" Name="a" value="1" <cfif #a# is "1">checked</cfif>>
and how can I say that value="x" should still have the option as x=0 or x=1
?
and for the update-template I have chosen:
<cfparam NAME="a" default="0">
<cfquery name="updatedata" datasource="test">
UPDATE table1 SET
a = '#a#'
WHERE 1 = 1
</cfquery>
(Hint: The query does have only one record !)
Ideas ?
Uwe
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.