Zip Code Field Only Taking U.s. Zip Codes

Zip Code field only taking U.S. Zip codes - I get the following error when I try to put a Canadian Zip Code in a customers profile

The ZIP / Postal code in the Zip Code / Postal Code field is incorrect. The correct format is 01342 (01342-5678).

However I have other Canadian Customers and the Zip code has went in before.

ZIP CODE IN QUESTION: "R3C 0B9"

What version are you running and what 3rd party addons do you have on your site? I'm not aware of any formatting that is done by default cs-cart on zipcodes.

Do you have the following code in the design/themes/THEME/templates/views/profiles/components/profiles_scripts.tpl file?

        US: {
            regexp: /^(\d{5})(-\d{4})?$/,
            format: '01342 (01342-5678)'
        },
        CA: {
            regexp: /^(\w{3} ?\w{3})$/,
            format: 'K1A OB1 (K1AOB1)'
        },
        RU: {
            regexp: /^(\d{6})?$/,
            format: '123456'
        }

Thank you for your replies. That pointed me in the right direction!

Thank you for your replies. That pointed me in the right direction!

Please share the solution