hanzelmans
2005-05-23 13:10:13 UTC
Can you not include a <cfif> in a CFInput field that is a checkbox?
I have attached the code that is throwing an error. I usually don't use
checkboxes with cfinput, but need to to use a Flash form that I'm being asked
to design.
<cfinput type="checkbox" name="SeniorDiv" value="1" label="Senior Division"
<cfif eventRecord.EVT_Division contains '1'>checked</cfif>>
I have attached the code that is throwing an error. I usually don't use
checkboxes with cfinput, but need to to use a Flash form that I'm being asked
to design.
<cfinput type="checkbox" name="SeniorDiv" value="1" label="Senior Division"
<cfif eventRecord.EVT_Division contains '1'>checked</cfif>>