Custom Metabox with Repeatable Fields
-
My organization is using categories in Connections to track active group memberships. We need a repeatable field group in our custom metabox to record membership in previous years for reporting, like:
1) Category (Select)
2) Start Date (Datepicker)
3) End Date (Datepicker)In the metabox API class, I see a case for ‘repeatable’ in the switch for field type, but when I attempt to create a repeatable field with subfields, WordPress prints out the error “Warning: Invalid argument supplied for foreach() in class.metabox-api.php on line 845”.
How can I set up the metabox to have a repeatable set of fields like this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom Metabox with Repeatable Fields’ is closed to new replies.