0

This question already has an answer here:

I want a Checkbox which is set by default(check). I do not want users to check OR uncheck it. In other words we can say it, I want to make it read only.

How do I do this in visualforce page ? Please help me out here. Thanks!

marked as duplicate by Vamsi Krishna, Community Sep 11 '15 at 6:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

You can just disable it

<apex:inputCheckbox disabled="true" />
or
<input type="checkbox" disabled="disabled" id="ckcBox"/>

Le

1
<apex:inputCheckbox value="{!field__c}" id="checkbox"/>

you could use Jquery functions to check and disable.

Not the answer you're looking for? Browse other questions tagged or ask your own question.