0

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

1

Template which is used for customer form address changes:

app/design/frontend/base/default/template/customer/form/address.phtml

Helper which is used to get the validation class:

\Mage_Customer_Helper_Address::getAttributeValidationClass

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

js/prototype/validation.js:414

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.