Hi All,

  I am having a problem with the following code. On cfmx 7 this code will 
ALWAYS have the checkbox field checked regardless. It seems that cfparam might 
be the cause, since if I remove it the problem goes away. It works fine in cfmx 
6.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<cfdump var="#form#" >
<cfparam name="form.DelRec1" type="string" default="">
<cfparam name="form.f1"      type="string" default="" >
<cfparam name="form.f2"      type="string" default="" >
<html>
<head>
        <title>Untitled</title>
</head>
<cfdump var="#form#" >
<body>

<cfform name="frm1" preservedata="Yes" method="POST">

<CFINPUT TYPE="Checkbox" Name="DelRec1" VALUE="Y" ><br>
<cfinput name="f1" type="Checkbox" value="Yes" onclick="" ><br>
<input name="f2" type="Checkbox" value="Yes" <cfif form.f2 eq "Yes" 
>checked</cfif> onclick="" ><br>
<cfinput type = "submit" name = "submit" value = "show me the result">
</cfform>

</body>
</html> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286974
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to