You can return false in the onclick event of that checkbox.

<cfinput type="Checkbox" name="test" checked="Yes" >

-Balaji

From: Andrea Loubier <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Checkbox
Date: Wed, 06 Feb 2002 11:29:21 -0600
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 () has its DISABLED attribute set:
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:
>
>
>
>
>
>
> >>> [EMAIL PROTECTED] 2/6/02 7:18:28 AM >>>
>
>Hi,
>
>How can I stop a user from "unchecking" the box below?
>
>
>
>
>-------------------------------------------------------------------------
>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
-------------------------------------------------------------------------
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


MSN Photos is the easiest way to share and print your photos: Click Here
------------------------------------------------------------------------- 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

Reply via email to