if for marketing reasons you NEED the checkbox to appear, try making an 
image of the checkbox and put that where the checkbox would normally 
appear,  it still looks like a formfield, but it's just an image so they 
can't touch it.

the following also works in text fields, you can try it in a checkbox

DISABLED
Setting the DISABLED flag for a form element, disables it from receiving 
any user input, or focus. It can still display values, text etc., but the 
user will not be able to make any changes to those values. For example, the 
following text box (<INPUT TYPE="text">) has its DISABLED attribute set:
<INPUT TYPE="text" SIZE="20" DISABLED VALUE="Enter a Name">


At 11:12 AM 2/6/2002 -0600, you wrote:
>Don't offer the checkbox.  If the form field is not there, users can't 
>change it.  If you still need to pass the form field, use a HIDDEN form 
>field type:
>
><INPUT TYPE="hidden" name-"select" value="???what's the value?">
>
>
>
>
> >>> [EMAIL PROTECTED] 2/6/02 7:18:28 AM >>>
>
>Hi,
>
>How can I stop a user from "unchecking" the box below?
>
><cfinput type="Checkbox" name="select" checked="Yes" required="Yes">
>
>
>-------------------------------------------------------------------------
>This email server is running an evaluation copy of the MailShield anti-
>spam software. Please contact your email administrator if you have any
>questions about this message. MailShield product info: www.mailshield.com
>
>-----------------------------------------------
>To post, send email to [EMAIL PROTECTED]
>To subscribe / unsubscribe: <http://www.dfwcfug.org>http://www.dfwcfug.org



-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to