I'm trying to create a validation rule formula in Salesforce, that uses two picklist fields which have the same values : p1, p2, p3.
One of the picklists is on the account object and the other one on the contact object.
If the selected value on the contact record is
p1 and on the contact's account record is
p2 then I would like to throw an error.
Any help would be greatly appreciated.