Skip to main content
  •  
  • Create a Validation Rule
  • Create a validation rule:
    • Rule Name: Contact_must_be_in_Account_ZIP_Code
    • Operator: AND (return true if both conditions are true)
    • Define the two conditions that, combined, will show the error message:
      • The contact is associated with an account id
      • The contact mailing zip code is different than the account shipping zip code
      • Hint: Use the API names (MailingPostalCode and Account.ShippingPostalCode) and the <> (Not Equal) operator.
    • Enter an error message for the validation rule

Here is the formula I entered.  AND(NOT( ISBLANK( AccountId ) ), MailingPostalCode <> Account.ShippingPostalCode) 

 

#Trailhead Challenges

6 件の回答
  1. 2024年6月19日 16:36

    Hi,

     

    If you have tried everything then I would encourage you to complete this challenge in a new Trailhead playground as sometimes due to the existing configuration Trailhead is not able to verify the challenge. 

0/9000