Created
December 16, 2017 21:57
-
-
Save mcguffin/a105c1e6406ead2029b00979c26513b7 to your computer and use it in GitHub Desktop.
basic nested repeater
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "group_5a3593ed877c0", | |
"title": "Nested Repeaeter", | |
"fields": [ | |
{ | |
"key": "field_5a3593f76e021", | |
"label": "Outer", | |
"name": "outer", | |
"type": "repeater", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"collapsed": "", | |
"min": 0, | |
"max": 0, | |
"layout": "table", | |
"button_label": "", | |
"sub_fields": [ | |
{ | |
"key": "field_5a3594016e022", | |
"label": "Inner", | |
"name": "inner", | |
"type": "repeater", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"collapsed": "", | |
"min": 0, | |
"max": 0, | |
"layout": "table", | |
"button_label": "", | |
"sub_fields": [ | |
{ | |
"key": "field_5a35941d6e023", | |
"label": "Text-Thing", | |
"name": "text-thing", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "", | |
"maxlength": "", | |
"show_column": 0, | |
"show_column_weight": 1000, | |
"allow_quickedit": 0, | |
"allow_bulkedit": 0 | |
} | |
] | |
} | |
] | |
} | |
], | |
"location": [ | |
[ | |
{ | |
"param": "post_type", | |
"operator": "==", | |
"value": "post" | |
} | |
] | |
], | |
"menu_order": 0, | |
"position": "normal", | |
"style": "default", | |
"label_placement": "top", | |
"instruction_placement": "label", | |
"hide_on_screen": "", | |
"active": 1, | |
"description": "" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment