{
    "key": "group_5b645b16b8a08",
    "title": "[Template]Front Main Campaign",
    "fields": [
        {
            "key": "field_5bfd36914df38",
          "label": "Show Main Campaign",
            "name": "show_main_campaign",
            "type": "true_false",
            "instructions": "",
            "required": 0,
            "conditional_logic": 0,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "message": "Display primary campaign?",
            "default_value": 1,
            "ui": 1,
          "ui_on_text": "Show",
          "ui_off_text": "Hide"
        },
        {
            "key": "field_5b645b8533eeb",
            "label": "Image",
            "name": "image",
            "type": "image",
            "instructions": "Make sure the image is at least 2000px wide.",
            "required": 1,
            "conditional_logic": [
                [
                    {
                        "field": "field_5bfd36914df38",
                        "operator": "==",
                        "value": "1"
                    }
                ]
            ],
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "return_format": "array",
            "preview_size": "regular",
            "library": "all",
            "min_width": 2000,
            "min_height": "",
            "min_size": "",
            "max_width": "",
            "max_height": "",
            "max_size": "",
            "mime_types": ""
        },
        {
            "key": "field_5b718424ad3be",
            "label": "Bars",
            "name": "bars",
            "type": "group",
            "instructions": "The bars will be placed over the image in the corporate design.",
            "required": 0,
            "conditional_logic": [
                [
                    {
                        "field": "field_5bfd36914df38",
                        "operator": "==",
                        "value": "1"
                    }
                ]
            ],
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "layout": "block",
            "sub_fields": [
                {
                    "key": "field_5b64b19806123",
                    "label": "Bar alignment",
                    "name": "bar_alignment",
                    "type": "radio",
                    "instructions": "",
                    "required": 0,
                    "conditional_logic": 0,
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                    "choices": {
                        "left": "Left",
                        "right": "Right",
                        "none": "Do not show bars"
                    },
                    "allow_null": 0,
                    "other_choice": 0,
                    "default_value": "left : left",
                    "layout": "horizontal",
                    "return_format": "value",
                    "save_other_choice": 0
                },
                {
                    "key": "field_5b718193dfd9f",
                    "label": "Main Color",
                    "name": "main_color",
                    "type": "button_group",
                    "instructions": "Select color of the upper headlines. Default is green. Use white, if the background is green already.",
                    "required": 0,
                    "conditional_logic": [
                        [
                            {
                                "field": "field_5b64b19806123",
                                "operator": "!=",
                                "value": "none"
                            }
                        ]
                    ],
                    "wrapper": {
                        "width": "30",
                        "class": "",
                        "id": ""
                    },
                    "choices": {
                        "green": "Green",
                        "white": "White"
                    },
                    "allow_null": 0,
                    "default_value": "green",
                    "layout": "vertical",
                    "return_format": "value"
                },
                {
                    "key": "field_5b7184aaad3bf",
                    "label": "Headlines",
                    "name": "headlines",
                    "type": "group",
                    "instructions": "",
                    "required": 0,
                    "conditional_logic": [
                        [
                            {
                                "field": "field_5b64b19806123",
                                "operator": "!=",
                                "value": "none"
                            }
                        ]
                    ],
                    "wrapper": {
                        "width": "70",
                        "class": "",
                        "id": ""
                    },
                    "layout": "block",
                    "sub_fields": [
                        {
                            "key": "field_5b645bd433eec",
                            "label": "",
                            "name": "green",
                            "type": "repeater",
                            "instructions": "",
                            "required": 0,
                            "conditional_logic": [
                                [
                                    {
                                        "field": "field_5b718193dfd9f",
                                        "operator": "==",
                                        "value": "green"
                                    }
                                ]
                            ],
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "collapsed": "field_5b645c0833eed",
                            "min": 1,
                            "max": 2,
                            "layout": "",
                            "button_label": "Add Green Headline",
                            "sub_fields": [
                                {
                                    "key": "field_5b645c0833eed",
                                    "label": "Green Headline",
                                    "name": "bar",
                                    "type": "text",
                                    "instructions": "",
                                    "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "default_value": "",
                                    "placeholder": "",
                                    "prepend": "",
                                    "append": "",
                                    "maxlength": 20
                                }
                            ]
                        },
                        {
                            "key": "field_5b645c8433eee",
                            "label": "",
                            "name": "white",
                            "type": "repeater",
                            "instructions": "",
                            "required": 0,
                            "conditional_logic": [
                                [
                                    {
                                        "field": "field_5b718193dfd9f",
                                        "operator": "==",
                                        "value": "white"
                                    }
                                ]
                            ],
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "collapsed": "field_5b645cf533eef",
                            "min": 1,
                            "max": 2,
                            "layout": "",
                            "button_label": "Add White Headline",
                            "sub_fields": [
                                {
                                    "key": "field_5b645cf533eef",
                                    "label": "White Headline",
                                    "name": "bar",
                                    "type": "text",
                                    "instructions": "",
                                    "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "default_value": "",
                                    "placeholder": "",
                                    "prepend": "",
                                    "append": "",
                                    "maxlength": 20
                                }
                            ]
                        },
                        {
                            "key": "field_5b645d3433ef0",
                            "label": "",
                            "name": "magenta",
                            "type": "repeater",
                            "instructions": "",
                            "required": 0,
                            "conditional_logic": 0,
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "collapsed": "field_5b645d6b33ef1",
                            "min": 1,
                            "max": 2,
                            "layout": "",
                            "button_label": "Add Magenta Headline",
                            "sub_fields": [
                                {
                                    "key": "field_5b645d6b33ef1",
                                    "label": "Magenta Headline",
                                    "name": "bar",
                                    "type": "text",
                                    "instructions": "",
                                    "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "default_value": "",
                                    "placeholder": "",
                                    "prepend": "",
                                    "append": "",
                                    "maxlength": 20
                                }
                            ]
                        }
                    ]
                },
                {
                    "key": "field_5b72aad898025",
                    "label": "Subline Color",
                    "name": "subline_color",
                    "type": "button_group",
                    "instructions": "Select color of the sublines. Default is white. Use green, if the background is white already.",
                    "required": 0,
                    "conditional_logic": [
                        [
                            {
                                "field": "field_5b64b19806123",
                                "operator": "!=",
                                "value": "none"
                            }
                        ]
                    ],
                    "wrapper": {
                        "width": "30",
                        "class": "",
                        "id": ""
                    },
                    "choices": {
                        "white": "White",
                        "green": "Green"
                    },
                    "allow_null": 0,
                    "default_value": "white",
                    "layout": "vertical",
                    "return_format": "value"
                },
                {
                    "key": "field_5b72aadc98026",
                    "label": "Sublines",
                    "name": "sublines",
                    "type": "group",
                    "instructions": "",
                    "required": 0,
                    "conditional_logic": [
                        [
                            {
                                "field": "field_5b64b19806123",
                                "operator": "!=",
                                "value": "none"
                            }
                        ]
                    ],
                    "wrapper": {
                        "width": "70",
                        "class": "",
                        "id": ""
                    },
                    "layout": "block",
                    "sub_fields": [
                        {
                            "key": "field_5b72aadd9802d",
                            "label": "",
                            "name": "green",
                            "type": "repeater",
                            "instructions": "",
                            "required": 0,
                            "conditional_logic": [
                                [
                                    {
                                        "field": "field_5b72aad898025",
                                        "operator": "==",
                                        "value": "green"
                                    }
                                ]
                            ],
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "collapsed": "field_5b72aadd9802e",
                            "min": 0,
                            "max": 2,
                            "layout": "table",
                            "button_label": "Add Subline",
                            "sub_fields": [
                                {
                                    "key": "field_5b72aadd9802e",
                                    "label": "Green Subline",
                                    "name": "bar",
                                    "type": "text",
                                    "instructions": "",
                                    "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "default_value": "",
                                    "placeholder": "",
                                    "prepend": "",
                                    "append": "",
                                    "maxlength": ""
                                }
                            ]
                        },
                        {
                            "key": "field_5b72aadd9802f",
                            "label": "",
                            "name": "white",
                            "type": "repeater",
                            "instructions": "",
                            "required": 0,
                            "conditional_logic": [
                                [
                                    {
                                        "field": "field_5b72aad898025",
                                        "operator": "==",
                                        "value": "white"
                                    }
                                ]
                            ],
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "collapsed": "field_5b72aadd98030",
                            "min": 0,
                            "max": 2,
                            "layout": "table",
                            "button_label": "Add Subline",
                            "sub_fields": [
                                {
                                    "key": "field_5b72aadd98030",
                                    "label": "White Subline",
                                    "name": "bar",
                                    "type": "text",
                                    "instructions": "",
                                    "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "default_value": "",
                                    "placeholder": "",
                                    "prepend": "",
                                    "append": "",
                                    "maxlength": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "key": "field_5b718e15c398d",
            "label": "Campaign Summary",
            "name": "summary",
            "type": "group",
            "instructions": "This refers to the upper left box below the image. Add a brief description of the campaign.",
            "required": 0,
            "conditional_logic": [
                [
                    {
                        "field": "field_5bfd36914df38",
                        "operator": "==",
                        "value": "1"
                    }
                ]
            ],
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "layout": "block",
            "sub_fields": [
                {
                    "key": "field_5b645e6b33ef7",
                    "label": "Title",
                    "name": "title",
                    "type": "text",
                    "instructions": "This is the main title. Keep it as short as possible!",
                    "required": 0,
                    "conditional_logic": 0,
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                    "default_value": "",
                    "placeholder": "",
                    "prepend": "",
                    "append": "",
                    "maxlength": 80
                },
                {
                    "key": "field_5b645ec333ef8",
                    "label": "Teaser",
                    "name": "teaser",
                    "type": "textarea",
                    "instructions": "Write a brief teaser to attract the readers interest. Keept it short (200 to 400 characters).",
                    "required": 0,
                    "conditional_logic": 0,
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                    "default_value": "",
                    "placeholder": "",
                    "maxlength": 500,
                    "rows": 3,
                    "new_lines": ""
                },
                {
                    "key": "field_5b645edb33ef9",
                    "label": "Read more button",
                  "name": "read_more",
                  "type": "link",
                  "instructions": "Link the main page of this campaign and set an accurate \"read more\" text for the link button.",
                    "required": 0,
                    "conditional_logic": 0,
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                  "return_format": "array"
                }
            ]
        },
        {
            "key": "field_5b718f74c398e",
            "label": "Call to Action",
            "name": "call_to_action",
            "type": "group",
            "instructions": "This refers to the second box, the darker one. Use it to call for action.",
            "required": 0,
            "conditional_logic": [
                [
                    {
                        "field": "field_5bfd36914df38",
                        "operator": "==",
                        "value": "1"
                    }
                ]
            ],
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "layout": "block",
            "sub_fields": [
                {
                  "key": "field_5b681c8590acf",
                  "label": "Title",
                  "name": "title",
                  "type": "text",
                  "instructions": "Use an encouraging title, like 'Let me be part of the success'.",
                  "required": 0,
                  "conditional_logic": 0,
                  "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                  },
                  "default_value": "",
                  "placeholder": "",
                  "prepend": "",
                  "append": "",
                  "maxlength": ""
                },
                {
                    "key": "field_5b681f7ccd058",
                  "label": "Description",
                    "name": "description",
                    "type": "textarea",
                    "instructions": "Tell the visiter briefly, what the form does. Example: Stay updated, subscribe to our newsletter; make a change, become a member; sign the petition",
                    "required": 0,
                    "conditional_logic": 0,
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                    "default_value": "",
                    "placeholder": "",
                  "maxlength": "",
                  "rows": "",
                    "new_lines": ""
                },
                {
                  "key": "field_5cf77bf9983f1",
                  "label": "Action Type",
                  "name": "type",
                  "type": "button_group",
                  "instructions": "",
                  "required": 0,
                  "conditional_logic": 0,
                  "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                  },
                  "choices": {
                    "form": "Form",
                    "button": "Action Button",
                    "link": "Link Button"
                  },
                  "allow_null": 0,
                  "default_value": "form",
                  "layout": "horizontal",
                  "return_format": "value"
                },
              {
                    "key": "field_5b681f2590ad0",
                "label": "Call to Action (Form)",
                    "name": "form",
                    "type": "post_object",
                "instructions": "Displays directly the form with the call to action.",
                    "required": 0,
                "conditional_logic": [
                  [
                    {
                      "field": "field_5cf77bf9983f1",
                      "operator": "==",
                      "value": "form"
                    }
                  ]
                ],
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                    "post_type": [
                        "theme_form"
                    ],
                    "taxonomy": "",
                "allow_null": 1,
                    "multiple": 0,
                    "return_format": "id",
                    "ui": 1
              },
              {
                "key": "field_5cf77c8b983f2",
                "label": "Call to Action (Button)",
                "name": "button",
                "type": "link",
                "instructions": "Displays the link to your action page as a magenta button.",
                "required": 0,
                "conditional_logic": [
                  [
                    {
                      "field": "field_5cf77bf9983f1",
                      "operator": "==",
                      "value": "button"
                    }
                  ]
                ],
                "wrapper": {
                  "width": "",
                  "class": "",
                  "id": ""
                },
                "return_format": "array"
              },
              {
                "key": "field_5cf77d16983f3",
                "label": "Call to Action (Link Button)",
                "name": "link",
                "type": "link",
                "instructions": "Displays the link to further reading as link button (the green one with >).",
                "required": 0,
                "conditional_logic": [
                  [
                    {
                      "field": "field_5cf77bf9983f1",
                      "operator": "==",
                      "value": "link"
                    }
                  ]
                ],
                "wrapper": {
                  "width": "",
                  "class": "",
                  "id": ""
                },
                "return_format": "array"
                }
            ]
        }
    ],
    "location": [
        [
            {
                "param": "post_type",
                "operator": "==",
                "value": "post"
            }
        ],
        [
            {
                "param": "post_type",
                "operator": "==",
                "value": "page"
            }
        ]
    ],
    "menu_order": 0,
    "position": "normal",
    "style": "default",
    "label_placement": "top",
    "instruction_placement": "label",
    "hide_on_screen": "",
    "active": 0,
    "description": "",
  "modified": 1559732070
}
