+ Start a Discussion
farah sheriffarah sherif 

validation rule help (trialhead module)

need help with this trialhead modile

Name the validation rule Contact must be in Account ZIP Code
A contact with a MailingPostalCode that has an account and does not match the associated Account ShippingPostalCode should return with a validation error and not be saved
The validation rule should ONLY apply to contact records with an associated account. Contact records with no associated parent account can be added with any MailingPostalCode value. (Hint: you can use the ISBLANK function for this check)

I wrote this but it's incorrect
 MailingPostalCode !=  Account.ShippingPostalCode 
Best Answer chosen by farah sherif
Deepali KulshresthaDeepali Kulshrestha
Hi  farah,

Please refer to these links it will be helpul to you:

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha