I am using magento 2.1.7. I have added vat field to billing address form. I want to add custom field validation. i have added below code.
Added below validation to phtml file
But my custom validation not working. Magento required field validation is working fine. Can anyone help me.