cancel
Showing results for 
Search instead for 
Did you mean: 

How to do Zip code Validations?

How to do Zip code Validations?

Hi,

      I want to validate the entered zip code is really present in that selected country or not. Can anyone say how to do this?

1 REPLY

Re: How to do Zip code Validations?

magento 2 build in validation classes are in lib\web\mage\validation.js 
Just look how these are made and make your own custom one.