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
NTSdevelopNTSdevelop 

the value of a lookup field can be used in a validation rule?

If so, how should I use it?
VALUE(NameObject__c)??

Any idea?

thanks
sfdcfoxsfdcfox
You can only get the ID of the record that the lookup field references. The name of the record and fields on that record aren't available in formulas or validation rules right now. See this feature request.

~ sfdcfox ~