Print this page

How to lock a check box field so that a user cannot un-check the field once it has been checked and saved?

Knowledge Article Number 000004974
Description How can I make sure that users cannot un-check a Check Box field once it has been checked and saved.
Resolution

A validation rule will accomplish this: 

Go to Setup | Customize | Object Name | Validation Rules and create a new one.

AND(PRIORVALUE(checkbox__c), TRUE,

ISCHANGED(checkbox__c))

This will prevent a user from removing the value from a check-box that was already checked.





promote demote