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

validation rule...


I have an object X__c where I have 3 fields f1__c(Email), f2__c, f3__c(Email). The requirement is if f1__c & f3__c are equal f2__c can be editable else if not equal then f3__c only can edit the field not f2__c.

janardhan mjanardhan m
Try like this ,check and change the code what you need....
 IF( f1__c == f3__c,  ISCHANGED(f2__c) , ISCHANGED(f3__c))