You need to sign in to do that
Don't have an account?
HNT_Neo
Validation Rule to stop users from saving a checkbox
I have a checkbox, donotsend__c, that if checked and saved, the user will be prompted with an error in not having sufficient access to do so.
The checkbox must not be able to be saved to true.
Can someone help me with this validation rule?
Thanks!
The checkbox must not be able to be saved to true.
Can someone help me with this validation rule?
Thanks!
You can simply put this field in validation Error Condition Formula section. Validation Rule will trigger error message only when cirteria mentioned under 'Error Condition Formula' returns TRUE. In your case, you want to show error message when donotsend__c field is set to TRUE. So, you can create Validation Rule as below:
Another way is to update the Error Condition Formula as: IF(donotsend__c , true, false)
Both will work.
-Thanks,
TK
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
All Answers
You can simply put this field in validation Error Condition Formula section. Validation Rule will trigger error message only when cirteria mentioned under 'Error Condition Formula' returns TRUE. In your case, you want to show error message when donotsend__c field is set to TRUE. So, you can create Validation Rule as below:
Another way is to update the Error Condition Formula as: IF(donotsend__c , true, false)
Both will work.
-Thanks,
TK
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.