v1.2.6: How to fix error not validate required radio button field?

Created by Jane D, Modified on Thu, 14 Apr 2022 at 02:30 PM by Jane D


The module doesn't validate the required field (radio button type) on my checkout page and guests can checkout without filling this field.

The error also happens on your demo site, please have a look: https://www.loom.com/share/a20fd16add004d91ad9d9ba1f78bb39d

Note that we use the latest version - v1.2.6 and M2.4.2.
Please give us a guide to fix it.


To fix this error, please edit the fileapp/code/Bss/CheckoutCustomField/view/frontend/web/js/model/checkout-custom-field-validator.js as below:

If you need further assistance, please do not hesitate to contact us. We'd be happy to support!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article