Skip to main content
6 respostas
  1. 22 de mar. de 2016, 08:27
    Hi ,

    Validates that the account Billing Zip/Postal Code is in the correct format ifBilling Country is Canada.

    AND(

    OR(BillingCountry = "CAN", BillingCountry = "CA", BillingCountry = "Canada"),

    NOT(REGEX(BillingPostalCode,

    "((?i)[ABCEGHJKLMNPRSTVXY]\\d[A-Z]?\\s?\\d[A-Z]\\d)?"))

    )

    For more detail please review the following link

    https://help.salesforce.com/HTViewHelpDoc?id=fields_useful_validation_formulas_account_address.htm&language=en_US

    Hope this helps you!

    Thanks