I have two checkbox fields on my Opportunity.
I have a Validation Rule
AND(checkboxOne__c = FALSE, checkboxTwo__c = FALSE) which will throw an error on save, if none is selected: "
Please check at least one checkbox".
On the Record Page Layout, I set
checkboxOne__c to Read-Only.
Now even if the Read-Only checkbox (
checkboxOne__c) is checked, and
checkboxTwo__c is not checked, the validation rule will nevertheless fire and throw the error on save.
This of course does not happen to Admin Accounts as the Read-Only field is not Read-Only.
If I make the field not Read-Only, then it works for other Profiles etc as well.
Is there any way to prevent this behavior?