Custom Fields
Re-Envisioned
Support Meta Box Group Default empty w/required fields Reply To: Default empty w/required fields

#11618

Anh Tran
Keymaster

Hi,

I think if you mark a field required, the browser will force you to enter a value. It works per field, which means it doesn’t depend on values of other fields. So no matter that field is in a group or not, if it’s required, it should have a value.

I’d suggest using custom JavaScript code to check the emptiness of a group (clone) before submitting the post, and not using the required featured. This way, you control when and how the field is “required”.