function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Katie LevyKatie Levy 

Validation: Cannot Check Box if % Field is not 100%

Hello! I'm trying to write a validation rule where a user can't check a box named "item complete" if the value in a percentage field called "% complete" is not 100%. The error message would tell them to set the % complete to 100% before checking the box. Help is greatly appreciated!
Boss CoffeeBoss Coffee
The following validation rule should fit your requirement.
AND( 
   OR(ISBLANK(Percent_Completed__c), 
      NOT(Percent_Completed__c = 100)), 
   Item_Complete__c = TRUE 
)
Katie LevyKatie Levy
Thanks so much!