I have a question, How to change rules for customer address validation form ?

I found backend validation rules in Magento_Customer/view/base/ui_component/customer_form.xml, but I can't find frontend javascript rules

1 Answer 1


Template which is used for customer form address changes:


Helper which is used to get the validation class:


And the validation classes are defined here, with behaviour and validation:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.