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
JohnDuraiJohnDurai 

validation rule to restrict field based on other lookup field

Hi All - I have one lookup field and one text field, i need to create validation rule based on lookup filed, if lookup field has value "ABC"  then text field shoud not be updatable or editable. can someone help me on this. Thanks!
VinayVinay (Salesforce Developers) 
Try below.
 
AND(
ISCHANGED(Textfield),
Lookupfield__r.Name = "ABC",
)

Thanks,