2

I want to make the billing address city field required on the checkout. Any help would be appreciated.

1 Answer 1

0

Yes, You can use the Magento default rules validation for this in the form of your checkout.

You can check the fields of the form, If there is UI component then use can just add these lines in the form.

<validation>
    <rule name="required-entry" xsi:type="boolean">true</rule>
               </validation>

Or you can add the any JS vaidation.

12

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.