How to add extra validation to postal code and province
-
Hello, I’m trying to add some validation to the checkout form, as we have a shop in Spain, I wanted to add a validation between the postal code and province selected by the user, as sometimes this don’t match and we had issues with the shipping after
Before using WooCommerce Blocks we used the PHP hook “woocommerce_after_checkout_validation”, but this now don’t gets triggered, can I accomplish something similar in JavaScript?
In Spain postal codes are really simple, I would only need to check the first two values of it to know which province is for
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to add extra validation to postal code and province’ is closed to new replies.