I try to apply validation for postal code on checkout like 4 numbers and 2 characters(A-Z) ex: "9999AA".
Now, by default, if I press an invalid postal code on checkout page, I receive a message likes the screen-shot below: But even If I don't change the postal code, I press next and finish my order.
Does anyone know how to solve this problem?
I found this link for javascript validation in magento 2 magento2 validator but I don't know where I can apply this validation validate-zip-international
and then to modify this validation rule base on my format.
Or is there another way to create a validation rule on zip code?