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
Matthew Hayes 46Matthew Hayes 46 

Validation Rule understanding

I am learning validation rules and am struggling understanding the basic layout of a validation rule.  I understand what I am trying to do, I just don't get why it gets laid out the way it does.  I am trying to create a validation rule that won't allow a user to enter a contact on an account where the shipping postal code and contact mailing postal code don't match.  This should only be active on contacts that have an associated account record.  I am struggling to understand where in the validation rule I do the account name check and how to do that.  I understand the logic for the matching of the postal codes.  
Best Answer chosen by Matthew Hayes 46
Matthew Hayes 46Matthew Hayes 46
This is the validation I created AND(
Account.ShippingPostalCode = MailingPostalCode ,
NOT( ISBLANK( Account.Name )))