Skip to content

Instantly share code, notes, and snippets.

@mwhiteley16
Created June 20, 2017 19:11
Show Gist options
  • Save mwhiteley16/ceb1c4d85c6aab402ea092d3d726dd68 to your computer and use it in GitHub Desktop.
Save mwhiteley16/ceb1c4d85c6aab402ea092d3d726dd68 to your computer and use it in GitHub Desktop.
[
{
"key": "group_593ebd9564c27",
"title": "User Support Fields",
"fields": [
{
"key": "field_593ebd9f48bd8",
"label": "Support Requests",
"name": "support_requests",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"collapsed": "",
"min": 0,
"max": 0,
"layout": "block",
"button_label": "Add Support Request Item",
"sub_fields": [
{
"key": "field_593ebdb948bd9",
"label": "Request Title",
"name": "support_request_title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_593ebdcb48bda",
"label": "Status",
"name": "support_request_status",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"choices": {
"pending": "Pending",
"open": "Open",
"closed": "Closed"
},
"default_value": [
"pending"
],
"allow_null": 0,
"multiple": 0,
"ui": 0,
"ajax": 0,
"return_format": "value",
"placeholder": ""
},
{
"key": "field_593ebf6448bdb",
"label": "Comment",
"name": "support_request_comment",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "wpautop"
},
{
"key": "field_593ed2e2c7f0c",
"label": "Date",
"name": "support_request_date",
"type": "date_picker",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"display_format": "m\/d\/Y",
"return_format": "m\/d\/Y",
"first_day": 1
}
]
}
],
"location": [
[
{
"param": "user_form",
"operator": "==",
"value": "all"
}
]
],
"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