How to make a field required on product edit page only if another filed is checked
-
02-03-2021 - |
题
I have creaed two product attributes "show member price" and "member price". By default the field Member price is non mandatory. But when the admin checks the "show member price(checkbox)" filed than the field "member price(text)" should become mandatory but for now the filed remains non mandatory in both the conditions.
Please help. Thanks in advance.
没有正确的解决方案
其他提示
I came through this page which should help you - https://webkul.com/blog/depend-attribute-field-attributes-field-admin-form-magento2/