i'm not sure about the question here. why, if you wanted a box to al ways be checked, would you present the checkbox in the first place? (i don' t mean that to sound smart-alecky) never the less not having to validate the checkbox works to your advantage. I'd just use a regular <input> tag , as opposed to a <cfinput> as follows
<input type="Checkbox" name="select" checked onclick="return fals e;"> the onclick="return false;" negates the click event. "Jim McAtee" <[EMAIL PROTECTED]> on 02/06/2002 08:50:26 AM Please respond to [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> cc: Subject: Re: Checkbox Disable it. It will be grayed out, but still be visibly 'checked'. Just be aware that the field value will not be submitted by the form. You ca n deal with that by using <cfparam> in the form's action template, or else by adding a hidden field. <cfinput type="Checkbox" name="select" checked="Yes" disabled> <cfinput type="hidden" name="select" value="whatever"> Jim ----- Original Message ----- From: "phumes1" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 6:18 AM Subject: Re: Checkbox > Hi, > > How can I stop a user from "unchecking" the box below? >> <cfinput type="Checkbox" name="select" checked="Yes" require= "Yes"> ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

