From 8dfd4838cdb6dbf705831d36d299ef6dee60b5b1 Mon Sep 17 00:00:00 2001 From: NiclasNorin <103985736+NiclasNorin@users.noreply.github.com> Date: Fri, 29 Sep 2023 12:33:48 +0200 Subject: [PATCH] fix: GDPR checkbox default true (#86) * Fix: GDPR checkbox default true * Fix: Removed showing on all blocks ACF bug when clicking save adds a rule for every save --------- Co-authored-by: Niclas Norin --- acf-fields/json/form.json | 5512 ++++++++++++++++++------------------ acf-fields/php/form.php | 5556 ++++++++++++++++++------------------- 2 files changed, 5534 insertions(+), 5534 deletions(-) diff --git a/acf-fields/json/form.json b/acf-fields/json/form.json index b94fdb68..449a6286 100644 --- a/acf-fields/json/form.json +++ b/acf-fields/json/form.json @@ -1,2757 +1,2757 @@ -[{ - "key": "group_58eb301ecb36a", - "title": "Form", - "fields": [ - { - "key": "field_58f5c009ee909", - "label": "Formul\u00e4rsf\u00e4lt", - "name": "", - "type": "tab", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "placement": "top", - "endpoint": 0 - }, - { - "key": "field_58eb302883a68", - "label": "F\u00e4lt", - "name": "form_fields", - "type": "flexible_content", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "layouts": { - "58eb3033e588f": { - "key": "58eb3033e588f", - "name": "sender", - "label": "Avs\u00e4ndare", - "display": "block", - "sub_fields": [ - { - "key": "field_58eb3944f7086", - "label": "Fields to display", - "name": "fields", - "type": "checkbox", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "25", - "class": "", - "id": "" - }, - "choices": { - "firstname": "Firstname", - "lastname": "Lastname", - "email": "Email", - "phone": "Phone", - "address": "Address" - }, - "allow_custom": 0, - "save_custom": 0, - "default_value": [ - "firstname", - "lastname", - "email" - ], - "layout": "vertical", - "toggle": 0, - "return_format": "value" - }, - { - "key": "field_58eb3a9bf7087", - "label": "Required fields", - "name": "required_fields", - "type": "checkbox", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "25", - "class": "", - "id": "" - }, - "choices": { - "firstname": "Firstname", - "lastname": "Lastname", - "email": "Email", - "phone": "Phone", - "address": "Address" - }, - "allow_custom": 0, - "save_custom": 0, - "default_value": [ - "firstname", - "lastname", - "email" - ], - "layout": "vertical", - "toggle": 0, - "return_format": "value" - }, - { - "key": "field_5a0abd4a4342a", - "label": "Custom labels", - "name": "custom_sender_labels", - "type": "group", - "instructions": "Check this box to add custom labels for sender input fields. Leave empty to use default labels", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "layout": "row", - "sub_fields": [ - { - "key": "field_5a0ac34055126", - "label": "Add labels", - "name": "add_sender_labels", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5a0abd5f4342b", - "label": "Firstname", - "name": "firstname", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a0ac34055126", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_5a0abd804342c", - "label": "Lastname", - "name": "lastname", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a0ac34055126", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_5a0abe977e028", - "label": "Email", - "name": "email", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a0ac34055126", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_5a0ac1fda1240", - "label": "Phone", - "name": "phone", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a0ac34055126", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_5a0ac216a1241", - "label": "Street address", - "name": "street_address", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a0ac34055126", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_5a0ac228a1242", - "label": "Postal code", - "name": "postal_code", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a0ac34055126", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_5a0ac236a1243", - "label": "City", - "name": "city", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a0ac34055126", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - } - ] - } - ], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - }, - "58eb3f2cd914a": { - "key": "58eb3f2cd914a", - "name": "message", - "label": "Meddelande", - "display": "block", - "sub_fields": [ - { - "key": "field_58eb3f37d914b", - "label": "Field label", - "name": "label", - "type": "text", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "Message", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_597b20d5392bc", - "label": "Field description", - "name": "description", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_58eb3f5ed914c", - "label": "Required", - "name": "required", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": 0, - "message": "Required field", - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69b14e2abf", - "label": "Conditional logic", - "name": "conditional_logic", - "type": "true_false", - "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Add conditional logic", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69b16e2ac0", - "label": "Conditonal field", - "name": "conditonal_field", - "type": "select", - "instructions": "Display field if this value is selected.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_59b69b14e2abf", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - }, - { - "key": "field_5a1be0449d8b8", - "label": "Custom post type content", - "name": "custom_post_type_content", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a1837b50079f", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Use this field as post content. Default is empty content field.", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - } - ], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - }, - "58eb552a8189e": { - "key": "58eb552a8189e", - "name": "input", - "label": "Inmatning", - "display": "block", - "sub_fields": [ - { - "key": "field_58eb55338189f", - "label": "Field label", - "name": "label", - "type": "text", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_597b2100392bd", - "label": "Field description", - "name": "description", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_58eb5547818a0", - "label": "Field value type", - "name": "value_type", - "type": "select", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "choices": { - "text": "Text", - "number": "Number", - "email": "Email", - "tel": "Phone number", - "color": "Color", - "date": "Date", - "month": "Month", - "week": "Week", - "range": "Range", - "search": "Search", - "time": "Time", - "url": "Url" - }, - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - }, - { - "key": "field_58eb572440304", - "label": "Min value", - "name": "min_value", - "type": "number", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "number" - } - ], - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "range" - } - ] - ], - "wrapper": { - "width": "33.3333", - "class": "", - "id": "" - }, - "default_value": "", - "min": "", - "max": "", - "step": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_58eb574140305", - "label": "Max value", - "name": "max_value", - "type": "number", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "number" - } - ], - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "range" - } - ] - ], - "wrapper": { - "width": "33.3333", - "class": "", - "id": "" - }, - "default_value": "", - "min": "", - "max": "", - "step": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_58eb57a645640", - "label": "Step", - "name": "step", - "type": "number", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "number" - } - ], - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "range" - } - ] - ], - "wrapper": { - "width": "33.3333", - "class": "", - "id": "" - }, - "default_value": "", - "min": "", - "max": "", - "step": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_58eb62d1ec890", - "label": "Min date", - "name": "min_value", - "type": "date_picker", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "date" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "display_format": "Y-m-d", - "return_format": "Y-m-d", - "first_day": 1 - }, - { - "key": "field_58eb62feec891", - "label": "Max date", - "name": "max_value", - "type": "date_picker", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "date" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "display_format": "Y-m-d", - "return_format": "Y-m-d", - "first_day": 1 - }, - { - "key": "field_5dfb9b0074cfc", - "label": "Min time", - "name": "min_time_value", - "type": "time_picker", - "instructions": "Select minimum time frame", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "time" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "display_format": "H:i:s", - "return_format": "H:i:s" - }, - { - "key": "field_5dfbf8a374cfe", - "label": "Max time", - "name": "max_time_value", - "type": "time_picker", - "instructions": "Select maximum time frame", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58eb5547818a0", - "operator": "==", - "value": "time" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "display_format": "H:i:s", - "return_format": "H:i:s" - }, - { - "key": "field_58eb5614c5514", - "label": "Required", - "name": "required", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": 0, - "message": "Required", - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69ae3e2abd", - "label": "Conditional logic", - "name": "conditional_logic", - "type": "true_false", - "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Add conditional logic", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69ae6e2abe", - "label": "Conditonal field", - "name": "conditonal_field", - "type": "select", - "instructions": "Display field if this value is selected.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_59b69ae3e2abd", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - }, - { - "key": "field_5a18388b007a2", - "label": "Custom post type title", - "name": "custom_post_type_title", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a1837b50079f", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Use this field as post title. Default title is the forms name.", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - } - ], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - }, - "58eb670839fee": { - "key": "58eb670839fee", - "name": "radio", - "label": "Radiof\u00e4lt", - "display": "block", - "sub_fields": [ - { - "key": "field_58eb675039ff1", - "label": "Field label", - "name": "label", - "type": "text", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_597b2112392be", - "label": "Field description", - "name": "description", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_58eb670d39fef", - "label": "Field values", - "name": "values", - "type": "repeater", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "collapsed": "", - "min": 2, - "max": 0, - "layout": "table", - "button_label": "L\u00e4gg till rad", - "rows_per_page": 20, - "sub_fields": [ - { - "key": "field_58eb672c39ff0", - "label": "Value", - "name": "value", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "", - "parent_repeater": "field_58eb670d39fef" - } - ] - }, - { - "key": "field_58eb699755795", - "label": "Required", - "name": "required", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": 0, - "message": "Required", - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69ac9e2abb", - "label": "Conditional logic", - "name": "conditional_logic", - "type": "true_false", - "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Add conditional logic", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69acbe2abc", - "label": "Conditonal field", - "name": "conditonal_field", - "type": "select", - "instructions": "Display field if this value is selected.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_59b69ac9e2abb", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - } - ], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - }, - "58eb6b023b076": { - "key": "58eb6b023b076", - "name": "checkbox", - "label": "Kryssruta", - "display": "block", - "sub_fields": [ - { - "key": "field_58eb6b023b077", - "label": "Field label", - "name": "label", - "type": "text", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_597b211f392bf", - "label": "Field description", - "name": "description", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_58eb6b023b078", - "label": "Field values", - "name": "values", - "type": "repeater", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "min": 1, - "max": 0, - "layout": "table", - "button_label": "L\u00e4gg till rad", - "collapsed": "", - "rows_per_page": 20, - "sub_fields": [ - { - "key": "field_58eb6b023b079", - "label": "Value", - "name": "value", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "", - "parent_repeater": "field_58eb6b023b078" - } - ] - }, - { - "key": "field_58eb6b023b07a", - "label": "Required", - "name": "required", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": 0, - "message": "Required", - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69ab2e2ab9", - "label": "Conditional logic", - "name": "conditional_logic", - "type": "true_false", - "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Add conditional logic", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69ab5e2aba", - "label": "Conditonal field", - "name": "conditonal_field", - "type": "select", - "instructions": "Display field if this value is selected.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_59b69ab2e2ab9", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - } - ], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - }, - "58eb6bd234c19": { - "key": "58eb6bd234c19", - "name": "select", - "label": "V\u00e4lj", - "display": "block", - "sub_fields": [ - { - "key": "field_58eb6bd334c1a", - "label": "Field label", - "name": "label", - "type": "text", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_597b2132392c0", - "label": "Field description", - "name": "description", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_58eb6bd334c1b", - "label": "Field values", - "name": "values", - "type": "repeater", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "min": 1, - "max": 0, - "layout": "table", - "button_label": "L\u00e4gg till rad", - "collapsed": "", - "rows_per_page": 20, - "sub_fields": [ - { - "key": "field_58eb6bd334c1c", - "label": "Value", - "name": "value", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "", - "parent_repeater": "field_58eb6bd334c1b" - } - ] - }, - { - "key": "field_58eb6bd334c1d", - "label": "Required", - "name": "required", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": 0, - "message": "Required", - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69a93e2ab7", - "label": "Conditional logic", - "name": "conditional_logic", - "type": "true_false", - "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Add conditional logic", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69a96e2ab8", - "label": "Conditonal field", - "name": "conditonal_field", - "type": "select", - "instructions": "Display field if this value is selected.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_59b69a93e2ab7", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - } - ], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - }, - "58eccdd75ad90": { - "key": "58eccdd75ad90", - "name": "file_upload", - "label": "Filuppladdning", - "display": "block", - "sub_fields": [ - { - "key": "field_58ecce8a5ad93", - "label": "Field label", - "name": "label", - "type": "text", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_638e0eadbf005", - "label": "Button label", - "name": "button_label", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_597b213f392c1", - "label": "Field description", - "name": "description", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_58eccde65ad91", - "label": "Type", - "name": "type", - "type": "radio", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "choices": { - "single": "Single", - "multiple": "Multiple" - }, - "allow_null": 0, - "other_choice": 0, - "save_other_choice": 0, - "default_value": "", - "layout": "horizontal", - "return_format": "value" - }, - { - "key": "field_58ece6685df9c", - "label": "Max number of files", - "name": "files_max", - "type": "number", - "instructions": "-1 for no limit", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58eccde65ad91", - "operator": "==", - "value": "multiple" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": -1, - "placeholder": "", - "prepend": "", - "append": "", - "min": "", - "max": "", - "step": "" - }, - { - "key": "field_58ecce105ad92", - "label": "Allowed filetypes", - "name": "filetypes", - "type": "checkbox", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "choices": { - "video\/*": "All video types", - "image\/*": "All image types", - ".jpg": "jpg", - ".png": "png", - ".gif": "gif", - ".mov": "mov", - ".webm": "webm", - ".mp4": "mp4", - ".mp3": "mp3", - ".ogg": "ogg", - ".aac": "aac", - ".doc": "doc", - ".docx": "docx", - ".xls": "xls", - ".xlsx": "xlsx", - ".pdf": "pdf" - }, - "allow_custom": 0, - "save_custom": 0, - "default_value": [], - "layout": "vertical", - "toggle": 0, - "return_format": "value" - }, - { - "key": "field_5a0c48839fa5d", - "label": "Upload videos to external service", - "name": "upload_videos_external", - "type": "true_false", - "instructions": "Check this box to upload upload videos to an external service instead of locally.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58ecce105ad92", - "operator": "==", - "value": "video\/*" - } - ], - [ - { - "field": "field_58ecce105ad92", - "operator": "==", - "value": ".mov" - } - ], - [ - { - "field": "field_58ecce105ad92", - "operator": "==", - "value": ".webm" - } - ], - [ - { - "field": "field_58ecce105ad92", - "operator": "==", - "value": ".mp4" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Upload external", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_58ecd86751bf6", - "label": "Required", - "name": "required", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Required", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69a7ae2ab5", - "label": "Conditional logic", - "name": "conditional_logic", - "type": "true_false", - "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Add conditional logic", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b69a7de2ab6", - "label": "Conditonal field", - "name": "conditonal_field", - "type": "select", - "instructions": "Display field if this value is selected.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_59b69a7ae2ab5", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - } - ], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - }, - "59b13312b61ac": { - "key": "59b13312b61ac", - "name": "custom_content", - "label": "Eget inneh\u00e5ll", - "display": "block", - "sub_fields": [ - { - "key": "field_59b13312b61ad", - "label": "Content", - "name": "content", - "type": "wysiwyg", - "instructions": "Add custom content to the form. This will not be sent in e-mail messages.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "tabs": "all", - "toolbar": "full", - "media_upload": 1, - "delay": 0 - }, - { - "key": "field_59b134beb61b0", - "label": "Conditional logic", - "name": "conditional_logic", - "type": "true_false", - "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Add conditional logic", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59b635765e86b", - "label": "Conditonal field", - "name": "conditonal_field", - "type": "select", - "instructions": "Display field if this value is selected.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_59b134beb61b0", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - } - ], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - }, - "5a266baf943ab": { - "key": "5a266baf943ab", - "name": "collapse", - "label": "F\u00e4ll ihop", - "display": "block", - "sub_fields": [ - { - "key": "field_5a26ac03821d9", - "label": "Collapse", - "name": "", - "type": "message", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Adds a collapse button that toggles all fields below. This is a layout field and will not be sent in e-mail messages.", - "new_lines": "wpautop", - "esc_html": 0 - }, - { - "key": "field_5a266bb8943af", - "label": "Button text", - "name": "button_text", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_5a266baf943ad", - "label": "Conditional logic", - "name": "conditional_logic", - "type": "true_false", - "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Add conditional logic", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5a266baf943ae", - "label": "Conditonal field", - "name": "conditonal_field", - "type": "select", - "instructions": "Display field if this value is selected.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a266baf943ad", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - } - ], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - }, - "5a268f41821d8": { - "key": "5a268f41821d8", - "name": "", - "label": "", - "display": "block", - "sub_fields": [], - "min": "", - "max": "", - "acfe_flexible_render_template": false, - "acfe_flexible_render_style": false, - "acfe_flexible_render_script": false, - "acfe_flexible_thumbnail": false, - "acfe_flexible_settings": false, - "acfe_flexible_settings_size": "medium", - "acfe_flexible_modal_edit_size": false, - "acfe_flexible_category": false - } - }, - "button_label": "Formul\u00e4rsf\u00e4lt", - "min": 1, - "max": "", - "acfe_flexible_advanced": false, - "acfe_flexible_stylised_button": false, - "acfe_flexible_hide_empty_message": false, - "acfe_flexible_empty_message": "", - "acfe_flexible_layouts_templates": false, - "acfe_flexible_layouts_previews": false, - "acfe_flexible_layouts_placeholder": false, - "acfe_flexible_layouts_thumbnails": false, - "acfe_flexible_layouts_settings": false, - "acfe_flexible_async": [], - "acfe_flexible_add_actions": [], - "acfe_flexible_remove_button": [], - "acfe_flexible_layouts_state": false, - "acfe_flexible_modal_edit": { - "acfe_flexible_modal_edit_enabled": false, - "acfe_flexible_modal_edit_size": "large" - }, - "acfe_flexible_modal": { - "acfe_flexible_modal_enabled": false, - "acfe_flexible_modal_title": false, - "acfe_flexible_modal_size": "full", - "acfe_flexible_modal_col": "4", - "acfe_flexible_modal_categories": false - } - }, - { - "key": "field_58f5c12da612a", - "label": "Formul\u00e4rsvar", - "name": "", - "type": "tab", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "placement": "top", - "endpoint": 0 - }, - { - "key": "field_58eb3700191e7", - "label": "Text p\u00e5 skicka-knapp", - "name": "submit_button_text", - "type": "text", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "Skicka", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_58eb7b11cc4f5", - "label": "Meddelande vid inskickning", - "name": "subimission_notice", - "type": "wysiwyg", - "instructions": "Text som visas n\u00e4r ett formul\u00e4r skickats.", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "tabs": "all", - "toolbar": "full", - "media_upload": 1, - "delay": 0 - }, - { - "key": "field_58f5c029ee90a", - "label": "Notiser", - "name": "", - "type": "tab", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "placement": "top", - "endpoint": 0 - }, - { - "key": "field_59a4259acfea0", - "label": "Notifikation n\u00e4r formul\u00e4r skickas", - "name": "", - "type": "message", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "", - "new_lines": "wpautop", - "esc_html": 0 - }, - { - "key": "field_58eb6ee89aa7c", - "label": "Notifiera e-postadresser", - "name": "notify", - "type": "repeater", - "instructions": "Ett mail skickas ut till nedanst\u00e5ende anv\u00e4ndare med inneh\u00e5llet i svaret.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "collapsed": "", - "min": 0, - "max": 0, - "layout": "block", - "button_label": "L\u00e4gg till e-postadress", - "rows_per_page": 20, - "sub_fields": [ - { - "key": "field_58eb6f389aa7d", - "label": "E-postadress", - "name": "email", - "type": "email", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "70", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "parent_repeater": "field_58eb6ee89aa7c" - }, - { - "key": "field_5a55d5e27740d", - "label": "L\u00e4gg till villkor", - "name": "condition", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "30", - "class": "", - "id": "" - }, - "message": "", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "", - "parent_repeater": "field_58eb6ee89aa7c" - }, - { - "key": "field_5a55de5ebfa4d", - "label": "Krav", - "name": "", - "type": "message", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a55d5e27740d", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "
Conditional fields must be a multi-choise field that is required to fill in and lacks conditional arguments. Note that you may not get email notfications if the requirements aren't fulfilled.<\/div>", - "new_lines": "", - "esc_html": 0, - "parent_repeater": "field_58eb6ee89aa7c" - }, - { - "key": "field_5a55d69512773", - "label": "Skicka bara n\u00e4r", - "name": "form_conditional_field", - "type": "select", - "instructions": "", - "required": 1, - "conditional_logic": [ - [ - { - "field": "field_5a55d5e27740d", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "", - "parent_repeater": "field_58eb6ee89aa7c" - }, - { - "key": "field_5a55db0812774", - "label": "Matchar", - "name": "form_conditional_field_equals", - "type": "select", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a55d5e27740d", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "choices": [], - "default_value": false, - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "", - "parent_repeater": "field_58eb6ee89aa7c" - } - ] - }, - { - "key": "field_59720c161a3a1", - "label": "Egen \u00e4mnesrad", - "name": "notification_custom_subject", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Kryssa i rutan f\u00f6r att ange egen \u00e4mnesrad.", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5972079df9f04", - "label": "\u00c4mnesrad", - "name": "notification_subject", - "type": "text", - "instructions": "Ange egen \u00e4mnesrad. Standardv\u00e4rde \u00e4r \u201cNytt formul\u00e4rsvar\u201d.", - "required": 1, - "conditional_logic": [ - [ - { - "field": "field_59720c161a3a1", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_58f5d00332436", - "label": "Meddelande i notis", - "name": "notification_message", - "type": "wysiwyg", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "tabs": "all", - "toolbar": "full", - "media_upload": 1, - "default_value": "", - "delay": 0 - }, - { - "key": "field_58f5b1a066797", - "label": "Notisdata", - "name": "submission_notice_data", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "default_value": 1, - "message": "Visa svarsdata i notisens inneh\u00e5ll", - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_58f5c0bbee90c", - "label": "Svarskopia", - "name": "", - "type": "tab", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "placement": "top", - "endpoint": 0 - }, - { - "key": "field_58f5b1c266798", - "label": "Till\u00e5t svarskopia", - "name": "allow_sender_copy", - "type": "true_false", - "instructions": "Skicka en kopia av svaret till avs\u00e4ndarens e-postadress.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "default_value": 0, - "message": "Ja, till\u00e5t anv\u00e4ndare att f\u00e5 en svarskopia", - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59a561ed8a256", - "label": "Egen \u00e4mnesrad f\u00f6r svarskopia", - "name": "copy_custom_subject", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58f5b1c266798", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Kryssa i rutan f\u00f6r att ange egen \u00e4mnesrad.", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_59a562508a257", - "label": "\u00c4mnesrad", - "name": "copy_subject", - "type": "text", - "instructions": "Ange egen \u00e4mnesrad. Standardv\u00e4rde \u00e4r \u201cSvarskopia\u201d.", - "required": 1, - "conditional_logic": [ - [ - { - "field": "field_59a561ed8a256", - "operator": "==", - "value": "1" - }, - { - "field": "field_58f5b1c266798", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "prepend": "", - "append": "", - "maxlength": "" - }, - { - "key": "field_58f5d09142d94", - "label": "Meddelande i svarskopia", - "name": "sender_copy_message", - "type": "wysiwyg", - "instructions": "Meddelandet kommer att skickas tillsammans med svarsdatan.", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_58f5b1c266798", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "tabs": "all", - "toolbar": "full", - "media_upload": 1, - "default_value": "", - "delay": 0 - }, - { - "key": "field_58f5c0abee90b", - "label": "Autosvar", - "name": "", - "type": "tab", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "placement": "top", - "endpoint": 0 - }, - { - "key": "field_58f5be7475dbf", - "label": "Autosvar", - "name": "autoreply", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": 0, - "message": "Skicka autosvar n\u00e4r formul\u00e4ret har skickats", - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_58f5bf7329b3f", - "label": "\u00c4mne f\u00f6r autosvar", - "name": "auto_reply_subject", - "type": "text", - "instructions": "", - "required": 1, - "conditional_logic": [ - [ - { - "field": "field_58f5be7475dbf", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "maxlength": "", - "placeholder": "", - "prepend": "", - "append": "" - }, - { - "key": "field_58f5bea775dc0", - "label": "Meddelande f\u00f6r autosvar", - "name": "auto_reply_content", - "type": "wysiwyg", - "instructions": "", - "required": 1, - "conditional_logic": [ - [ - { - "field": "field_58f5be7475dbf", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "tabs": "all", - "toolbar": "full", - "media_upload": 1, - "default_value": "", - "delay": 0 - }, - { - "key": "field_5a12ad75f9444", - "label": "Avancerade inst\u00e4llningar", - "name": "", - "type": "tab", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "placement": "top", - "endpoint": 0 - }, - { - "key": "field_5a1837b50079f", - "label": "Spara till posttyp", - "name": "custom_submission_post_type", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "message": "Spara formul\u00e4rsvar till en anpassad posttyp.", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5a059dcc4c2a0", - "label": "Posttyp", - "name": "submission_post_type", - "type": "select", - "instructions": "V\u00e4lj posttyp", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5a1837b50079f", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "choices": { - "form-submissions": "Formul\u00e4rsvar", - "event": "H\u00e4ndelse", - "ticket": "\u00c4rende", - "listing": "Lista", - "lovprogram": "Lovprogram", - "johan-test123": "Johan-test123", - "projekt": "Projekt", - "idea": "Ideas" - }, - "default_value": "form-submissions", - "allow_null": 0, - "multiple": 0, - "ui": 0, - "ajax": 0, - "return_format": "value", - "placeholder": "" - }, - { - "key": "field_5a12ae16f9445", - "label": "Redigerbar f\u00f6r anv\u00e4ndaren", - "name": "editable_front_end", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "message": "", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5a12afecf9446", - "label": "Redigerbar f\u00f6r redakt\u00f6r", - "name": "editable_back_end", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "message": "", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5b51a469880c0", - "label": "GDPR & Confidentiality", - "name": "", - "type": "tab", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "placement": "top", - "endpoint": 0 - }, - { - "key": "field_59df53ac189b8", - "label": "Notis om allm\u00e4n handling", - "name": "submission_public_act", - "type": "true_false", - "instructions": "L\u00e4gger till ett meddelande som informerar anv\u00e4ndaren om att formul\u00e4rsvaret blir en allm\u00e4n handling.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "L\u00e4gg till notis om allm\u00e4n handling", - "default_value": 1, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5b51c75ca46d1", - "label": "Public act content", - "name": "submission_public_act_content", - "type": "textarea", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_59df53ac189b8", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "placeholder": "", - "maxlength": "", - "rows": "", - "new_lines": "" - }, - { - "key": "field_5b3c8d3f4e20a", - "label": "GDPR \u00f6verensst\u00e4mmelsemeddelande", - "name": "gdpr_complience_notice", - "type": "true_false", - "instructions": "Inneh\u00e5ller information om hur personlig data hanteras.", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "message": "Visa ett meddelande (och en checkbox) som \u00e4r n\u00f6dv\u00e4ndig f\u00f6r att posta formul\u00e4ret.", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5b3c8e0a6e7f2", - "label": "Inneh\u00e5ll f\u00f6r GDPR meddelande", - "name": "gdpr_complience_notice_content", - "type": "wysiwyg", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5b3c8d3f4e20a", - "operator": "==", - "value": "1" - } - ] - ], - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "I det h\u00e4r formul\u00e4ret samlar vi in personuppgifter om dig f\u00f6r att [det formul\u00e4ret ska anv\u00e4ndas till]. Uppgifterna kommer inte att hanteras f\u00f6r n\u00e5got annat syfte, och kommer att raderas n\u00e4r [\u00e4rendet \u00e4r avslutat]. L\u00e4s om hur Helsingborgs stad hanterar personuppgifter<\/a>.", - "tabs": "all", - "toolbar": "full", - "media_upload": 0, - "delay": 0 - }, - { - "key": "field_5b2a3840ff029", - "label": "Databaslagring", - "name": "db_storage", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "message": "Lagra inte postad data i databasen.", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5b3384dbf9cac", - "label": "Anv\u00e4ndarbegr\u00e4nsning", - "name": "user_restriction", - "type": "true_false", - "instructions": "", - "required": 0, - "conditional_logic": [ - [ - { - "field": "field_5b2a3840ff029", - "operator": "!=", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "message": "", - "default_value": 0, - "ui": 0, - "ui_on_text": "", - "ui_off_text": "" - }, - { - "key": "field_5b338525f9cad", - "label": "Betrodda anv\u00e4ndare", - "name": "granted_users", - "type": "user", - "instructions": "L\u00e4gg till betrodda anv\u00e4ndare som har access till det som postas fr\u00e5n formul\u00e4ren", - "required": 1, - "conditional_logic": [ - [ - { - "field": "field_5b3384dbf9cac", - "operator": "==", - "value": "1" - }, - { - "field": "field_5b2a3840ff029", - "operator": "!=", - "value": "1" - } - ] - ], - "wrapper": { - "width": "50", - "class": "", - "id": "" - }, - "role": "", - "allow_null": 0, - "multiple": 1, - "return_format": "array" - } - ], - "location": [ - [ - { - "param": "post_type", - "operator": "==", - "value": "mod-form" - } - ], - [ - { - "param": "block", - "operator": "==", - "value": "acf\/form" - } - ] - ], - "menu_order": 0, - "position": "normal", - "style": "default", - "label_placement": "top", - "instruction_placement": "label", - "hide_on_screen": "", - "active": true, - "description": "", - "show_in_rest": 0, - "acfe_display_title": "", - "acfe_autosync": "", - "acfe_form": 0, - "acfe_meta": "", - "acfe_note": "" -}] +[{ + "key": "group_58eb301ecb36a", + "title": "Form", + "fields": [ + { + "key": "field_58f5c009ee909", + "label": "Formul\u00e4rsf\u00e4lt", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_58eb302883a68", + "label": "F\u00e4lt", + "name": "form_fields", + "type": "flexible_content", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "layouts": { + "58eb3033e588f": { + "key": "58eb3033e588f", + "name": "sender", + "label": "Avs\u00e4ndare", + "display": "block", + "sub_fields": [ + { + "key": "field_58eb3944f7086", + "label": "Fields to display", + "name": "fields", + "type": "checkbox", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "25", + "class": "", + "id": "" + }, + "choices": { + "firstname": "Firstname", + "lastname": "Lastname", + "email": "Email", + "phone": "Phone", + "address": "Address" + }, + "allow_custom": 0, + "save_custom": 0, + "default_value": [ + "firstname", + "lastname", + "email" + ], + "layout": "vertical", + "toggle": 0, + "return_format": "value" + }, + { + "key": "field_58eb3a9bf7087", + "label": "Required fields", + "name": "required_fields", + "type": "checkbox", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "25", + "class": "", + "id": "" + }, + "choices": { + "firstname": "Firstname", + "lastname": "Lastname", + "email": "Email", + "phone": "Phone", + "address": "Address" + }, + "allow_custom": 0, + "save_custom": 0, + "default_value": [ + "firstname", + "lastname", + "email" + ], + "layout": "vertical", + "toggle": 0, + "return_format": "value" + }, + { + "key": "field_5a0abd4a4342a", + "label": "Custom labels", + "name": "custom_sender_labels", + "type": "group", + "instructions": "Check this box to add custom labels for sender input fields. Leave empty to use default labels", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "layout": "row", + "sub_fields": [ + { + "key": "field_5a0ac34055126", + "label": "Add labels", + "name": "add_sender_labels", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5a0abd5f4342b", + "label": "Firstname", + "name": "firstname", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a0ac34055126", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5a0abd804342c", + "label": "Lastname", + "name": "lastname", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a0ac34055126", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5a0abe977e028", + "label": "Email", + "name": "email", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a0ac34055126", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5a0ac1fda1240", + "label": "Phone", + "name": "phone", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a0ac34055126", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5a0ac216a1241", + "label": "Street address", + "name": "street_address", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a0ac34055126", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5a0ac228a1242", + "label": "Postal code", + "name": "postal_code", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a0ac34055126", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5a0ac236a1243", + "label": "City", + "name": "city", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a0ac34055126", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + } + ] + } + ], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + }, + "58eb3f2cd914a": { + "key": "58eb3f2cd914a", + "name": "message", + "label": "Meddelande", + "display": "block", + "sub_fields": [ + { + "key": "field_58eb3f37d914b", + "label": "Field label", + "name": "label", + "type": "text", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "Message", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_597b20d5392bc", + "label": "Field description", + "name": "description", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_58eb3f5ed914c", + "label": "Required", + "name": "required", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 0, + "message": "Required field", + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69b14e2abf", + "label": "Conditional logic", + "name": "conditional_logic", + "type": "true_false", + "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Add conditional logic", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69b16e2ac0", + "label": "Conditonal field", + "name": "conditonal_field", + "type": "select", + "instructions": "Display field if this value is selected.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_59b69b14e2abf", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + }, + { + "key": "field_5a1be0449d8b8", + "label": "Custom post type content", + "name": "custom_post_type_content", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a1837b50079f", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Use this field as post content. Default is empty content field.", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + } + ], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + }, + "58eb552a8189e": { + "key": "58eb552a8189e", + "name": "input", + "label": "Inmatning", + "display": "block", + "sub_fields": [ + { + "key": "field_58eb55338189f", + "label": "Field label", + "name": "label", + "type": "text", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_597b2100392bd", + "label": "Field description", + "name": "description", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_58eb5547818a0", + "label": "Field value type", + "name": "value_type", + "type": "select", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "text": "Text", + "number": "Number", + "email": "Email", + "tel": "Phone number", + "color": "Color", + "date": "Date", + "month": "Month", + "week": "Week", + "range": "Range", + "search": "Search", + "time": "Time", + "url": "Url" + }, + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + }, + { + "key": "field_58eb572440304", + "label": "Min value", + "name": "min_value", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "number" + } + ], + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "range" + } + ] + ], + "wrapper": { + "width": "33.3333", + "class": "", + "id": "" + }, + "default_value": "", + "min": "", + "max": "", + "step": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_58eb574140305", + "label": "Max value", + "name": "max_value", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "number" + } + ], + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "range" + } + ] + ], + "wrapper": { + "width": "33.3333", + "class": "", + "id": "" + }, + "default_value": "", + "min": "", + "max": "", + "step": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_58eb57a645640", + "label": "Step", + "name": "step", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "number" + } + ], + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "range" + } + ] + ], + "wrapper": { + "width": "33.3333", + "class": "", + "id": "" + }, + "default_value": "", + "min": "", + "max": "", + "step": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_58eb62d1ec890", + "label": "Min date", + "name": "min_value", + "type": "date_picker", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "date" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "display_format": "Y-m-d", + "return_format": "Y-m-d", + "first_day": 1 + }, + { + "key": "field_58eb62feec891", + "label": "Max date", + "name": "max_value", + "type": "date_picker", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "date" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "display_format": "Y-m-d", + "return_format": "Y-m-d", + "first_day": 1 + }, + { + "key": "field_5dfb9b0074cfc", + "label": "Min time", + "name": "min_time_value", + "type": "time_picker", + "instructions": "Select minimum time frame", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "time" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "display_format": "H:i:s", + "return_format": "H:i:s" + }, + { + "key": "field_5dfbf8a374cfe", + "label": "Max time", + "name": "max_time_value", + "type": "time_picker", + "instructions": "Select maximum time frame", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58eb5547818a0", + "operator": "==", + "value": "time" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "display_format": "H:i:s", + "return_format": "H:i:s" + }, + { + "key": "field_58eb5614c5514", + "label": "Required", + "name": "required", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 0, + "message": "Required", + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69ae3e2abd", + "label": "Conditional logic", + "name": "conditional_logic", + "type": "true_false", + "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Add conditional logic", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69ae6e2abe", + "label": "Conditonal field", + "name": "conditonal_field", + "type": "select", + "instructions": "Display field if this value is selected.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_59b69ae3e2abd", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + }, + { + "key": "field_5a18388b007a2", + "label": "Custom post type title", + "name": "custom_post_type_title", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a1837b50079f", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Use this field as post title. Default title is the forms name.", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + } + ], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + }, + "58eb670839fee": { + "key": "58eb670839fee", + "name": "radio", + "label": "Radiof\u00e4lt", + "display": "block", + "sub_fields": [ + { + "key": "field_58eb675039ff1", + "label": "Field label", + "name": "label", + "type": "text", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_597b2112392be", + "label": "Field description", + "name": "description", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_58eb670d39fef", + "label": "Field values", + "name": "values", + "type": "repeater", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "collapsed": "", + "min": 2, + "max": 0, + "layout": "table", + "button_label": "L\u00e4gg till rad", + "rows_per_page": 20, + "sub_fields": [ + { + "key": "field_58eb672c39ff0", + "label": "Value", + "name": "value", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "", + "parent_repeater": "field_58eb670d39fef" + } + ] + }, + { + "key": "field_58eb699755795", + "label": "Required", + "name": "required", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 0, + "message": "Required", + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69ac9e2abb", + "label": "Conditional logic", + "name": "conditional_logic", + "type": "true_false", + "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Add conditional logic", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69acbe2abc", + "label": "Conditonal field", + "name": "conditonal_field", + "type": "select", + "instructions": "Display field if this value is selected.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_59b69ac9e2abb", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + } + ], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + }, + "58eb6b023b076": { + "key": "58eb6b023b076", + "name": "checkbox", + "label": "Kryssruta", + "display": "block", + "sub_fields": [ + { + "key": "field_58eb6b023b077", + "label": "Field label", + "name": "label", + "type": "text", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_597b211f392bf", + "label": "Field description", + "name": "description", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_58eb6b023b078", + "label": "Field values", + "name": "values", + "type": "repeater", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "min": 1, + "max": 0, + "layout": "table", + "button_label": "L\u00e4gg till rad", + "collapsed": "", + "rows_per_page": 20, + "sub_fields": [ + { + "key": "field_58eb6b023b079", + "label": "Value", + "name": "value", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "", + "parent_repeater": "field_58eb6b023b078" + } + ] + }, + { + "key": "field_58eb6b023b07a", + "label": "Required", + "name": "required", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 0, + "message": "Required", + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69ab2e2ab9", + "label": "Conditional logic", + "name": "conditional_logic", + "type": "true_false", + "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Add conditional logic", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69ab5e2aba", + "label": "Conditonal field", + "name": "conditonal_field", + "type": "select", + "instructions": "Display field if this value is selected.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_59b69ab2e2ab9", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + } + ], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + }, + "58eb6bd234c19": { + "key": "58eb6bd234c19", + "name": "select", + "label": "V\u00e4lj", + "display": "block", + "sub_fields": [ + { + "key": "field_58eb6bd334c1a", + "label": "Field label", + "name": "label", + "type": "text", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_597b2132392c0", + "label": "Field description", + "name": "description", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_58eb6bd334c1b", + "label": "Field values", + "name": "values", + "type": "repeater", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "min": 1, + "max": 0, + "layout": "table", + "button_label": "L\u00e4gg till rad", + "collapsed": "", + "rows_per_page": 20, + "sub_fields": [ + { + "key": "field_58eb6bd334c1c", + "label": "Value", + "name": "value", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "", + "parent_repeater": "field_58eb6bd334c1b" + } + ] + }, + { + "key": "field_58eb6bd334c1d", + "label": "Required", + "name": "required", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 0, + "message": "Required", + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69a93e2ab7", + "label": "Conditional logic", + "name": "conditional_logic", + "type": "true_false", + "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Add conditional logic", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69a96e2ab8", + "label": "Conditonal field", + "name": "conditonal_field", + "type": "select", + "instructions": "Display field if this value is selected.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_59b69a93e2ab7", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + } + ], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + }, + "58eccdd75ad90": { + "key": "58eccdd75ad90", + "name": "file_upload", + "label": "Filuppladdning", + "display": "block", + "sub_fields": [ + { + "key": "field_58ecce8a5ad93", + "label": "Field label", + "name": "label", + "type": "text", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_638e0eadbf005", + "label": "Button label", + "name": "button_label", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_597b213f392c1", + "label": "Field description", + "name": "description", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_58eccde65ad91", + "label": "Type", + "name": "type", + "type": "radio", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "single": "Single", + "multiple": "Multiple" + }, + "allow_null": 0, + "other_choice": 0, + "save_other_choice": 0, + "default_value": "", + "layout": "horizontal", + "return_format": "value" + }, + { + "key": "field_58ece6685df9c", + "label": "Max number of files", + "name": "files_max", + "type": "number", + "instructions": "-1 for no limit", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58eccde65ad91", + "operator": "==", + "value": "multiple" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": -1, + "placeholder": "", + "prepend": "", + "append": "", + "min": "", + "max": "", + "step": "" + }, + { + "key": "field_58ecce105ad92", + "label": "Allowed filetypes", + "name": "filetypes", + "type": "checkbox", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "video\/*": "All video types", + "image\/*": "All image types", + ".jpg": "jpg", + ".png": "png", + ".gif": "gif", + ".mov": "mov", + ".webm": "webm", + ".mp4": "mp4", + ".mp3": "mp3", + ".ogg": "ogg", + ".aac": "aac", + ".doc": "doc", + ".docx": "docx", + ".xls": "xls", + ".xlsx": "xlsx", + ".pdf": "pdf" + }, + "allow_custom": 0, + "save_custom": 0, + "default_value": [], + "layout": "vertical", + "toggle": 0, + "return_format": "value" + }, + { + "key": "field_5a0c48839fa5d", + "label": "Upload videos to external service", + "name": "upload_videos_external", + "type": "true_false", + "instructions": "Check this box to upload upload videos to an external service instead of locally.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58ecce105ad92", + "operator": "==", + "value": "video\/*" + } + ], + [ + { + "field": "field_58ecce105ad92", + "operator": "==", + "value": ".mov" + } + ], + [ + { + "field": "field_58ecce105ad92", + "operator": "==", + "value": ".webm" + } + ], + [ + { + "field": "field_58ecce105ad92", + "operator": "==", + "value": ".mp4" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Upload external", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_58ecd86751bf6", + "label": "Required", + "name": "required", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Required", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69a7ae2ab5", + "label": "Conditional logic", + "name": "conditional_logic", + "type": "true_false", + "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Add conditional logic", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b69a7de2ab6", + "label": "Conditonal field", + "name": "conditonal_field", + "type": "select", + "instructions": "Display field if this value is selected.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_59b69a7ae2ab5", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + } + ], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + }, + "59b13312b61ac": { + "key": "59b13312b61ac", + "name": "custom_content", + "label": "Eget inneh\u00e5ll", + "display": "block", + "sub_fields": [ + { + "key": "field_59b13312b61ad", + "label": "Content", + "name": "content", + "type": "wysiwyg", + "instructions": "Add custom content to the form. This will not be sent in e-mail messages.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "tabs": "all", + "toolbar": "full", + "media_upload": 1, + "delay": 0 + }, + { + "key": "field_59b134beb61b0", + "label": "Conditional logic", + "name": "conditional_logic", + "type": "true_false", + "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Add conditional logic", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59b635765e86b", + "label": "Conditonal field", + "name": "conditonal_field", + "type": "select", + "instructions": "Display field if this value is selected.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_59b134beb61b0", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + } + ], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + }, + "5a266baf943ab": { + "key": "5a266baf943ab", + "name": "collapse", + "label": "F\u00e4ll ihop", + "display": "block", + "sub_fields": [ + { + "key": "field_5a26ac03821d9", + "label": "Collapse", + "name": "", + "type": "message", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Adds a collapse button that toggles all fields below. This is a layout field and will not be sent in e-mail messages.", + "new_lines": "wpautop", + "esc_html": 0 + }, + { + "key": "field_5a266bb8943af", + "label": "Button text", + "name": "button_text", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5a266baf943ad", + "label": "Conditional logic", + "name": "conditional_logic", + "type": "true_false", + "instructions": "Use conditional logic statement to display the field depending on other choices in the form. Works only with \"Radio\" form field type.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Add conditional logic", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5a266baf943ae", + "label": "Conditonal field", + "name": "conditonal_field", + "type": "select", + "instructions": "Display field if this value is selected.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a266baf943ad", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + } + ], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + }, + "5a268f41821d8": { + "key": "5a268f41821d8", + "name": "", + "label": "", + "display": "block", + "sub_fields": [], + "min": "", + "max": "", + "acfe_flexible_render_template": false, + "acfe_flexible_render_style": false, + "acfe_flexible_render_script": false, + "acfe_flexible_thumbnail": false, + "acfe_flexible_settings": false, + "acfe_flexible_settings_size": "medium", + "acfe_flexible_modal_edit_size": false, + "acfe_flexible_category": false + } + }, + "button_label": "Formul\u00e4rsf\u00e4lt", + "min": 1, + "max": "", + "acfe_flexible_advanced": false, + "acfe_flexible_stylised_button": false, + "acfe_flexible_hide_empty_message": false, + "acfe_flexible_empty_message": "", + "acfe_flexible_layouts_templates": false, + "acfe_flexible_layouts_previews": false, + "acfe_flexible_layouts_placeholder": false, + "acfe_flexible_layouts_thumbnails": false, + "acfe_flexible_layouts_settings": false, + "acfe_flexible_async": [], + "acfe_flexible_add_actions": [], + "acfe_flexible_remove_button": [], + "acfe_flexible_layouts_state": false, + "acfe_flexible_modal_edit": { + "acfe_flexible_modal_edit_enabled": false, + "acfe_flexible_modal_edit_size": "large" + }, + "acfe_flexible_modal": { + "acfe_flexible_modal_enabled": false, + "acfe_flexible_modal_title": false, + "acfe_flexible_modal_size": "full", + "acfe_flexible_modal_col": "4", + "acfe_flexible_modal_categories": false + } + }, + { + "key": "field_58f5c12da612a", + "label": "Formul\u00e4rsvar", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_58eb3700191e7", + "label": "Text p\u00e5 skicka-knapp", + "name": "submit_button_text", + "type": "text", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "Skicka", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_58eb7b11cc4f5", + "label": "Meddelande vid inskickning", + "name": "subimission_notice", + "type": "wysiwyg", + "instructions": "Text som visas n\u00e4r ett formul\u00e4r skickats.", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "tabs": "all", + "toolbar": "full", + "media_upload": 1, + "delay": 0 + }, + { + "key": "field_58f5c029ee90a", + "label": "Notiser", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_59a4259acfea0", + "label": "Notifikation n\u00e4r formul\u00e4r skickas", + "name": "", + "type": "message", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "", + "new_lines": "wpautop", + "esc_html": 0 + }, + { + "key": "field_58eb6ee89aa7c", + "label": "Notifiera e-postadresser", + "name": "notify", + "type": "repeater", + "instructions": "Ett mail skickas ut till nedanst\u00e5ende anv\u00e4ndare med inneh\u00e5llet i svaret.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "collapsed": "", + "min": 0, + "max": 0, + "layout": "block", + "button_label": "L\u00e4gg till e-postadress", + "rows_per_page": 20, + "sub_fields": [ + { + "key": "field_58eb6f389aa7d", + "label": "E-postadress", + "name": "email", + "type": "email", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "70", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "parent_repeater": "field_58eb6ee89aa7c" + }, + { + "key": "field_5a55d5e27740d", + "label": "L\u00e4gg till villkor", + "name": "condition", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "30", + "class": "", + "id": "" + }, + "message": "", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "", + "parent_repeater": "field_58eb6ee89aa7c" + }, + { + "key": "field_5a55de5ebfa4d", + "label": "Krav", + "name": "", + "type": "message", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a55d5e27740d", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "
Conditional fields must be a multi-choise field that is required to fill in and lacks conditional arguments. Note that you may not get email notfications if the requirements aren't fulfilled.<\/div>", + "new_lines": "", + "esc_html": 0, + "parent_repeater": "field_58eb6ee89aa7c" + }, + { + "key": "field_5a55d69512773", + "label": "Skicka bara n\u00e4r", + "name": "form_conditional_field", + "type": "select", + "instructions": "", + "required": 1, + "conditional_logic": [ + [ + { + "field": "field_5a55d5e27740d", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "", + "parent_repeater": "field_58eb6ee89aa7c" + }, + { + "key": "field_5a55db0812774", + "label": "Matchar", + "name": "form_conditional_field_equals", + "type": "select", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a55d5e27740d", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "choices": [], + "default_value": false, + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "", + "parent_repeater": "field_58eb6ee89aa7c" + } + ] + }, + { + "key": "field_59720c161a3a1", + "label": "Egen \u00e4mnesrad", + "name": "notification_custom_subject", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Kryssa i rutan f\u00f6r att ange egen \u00e4mnesrad.", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5972079df9f04", + "label": "\u00c4mnesrad", + "name": "notification_subject", + "type": "text", + "instructions": "Ange egen \u00e4mnesrad. Standardv\u00e4rde \u00e4r \u201cNytt formul\u00e4rsvar\u201d.", + "required": 1, + "conditional_logic": [ + [ + { + "field": "field_59720c161a3a1", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_58f5d00332436", + "label": "Meddelande i notis", + "name": "notification_message", + "type": "wysiwyg", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "tabs": "all", + "toolbar": "full", + "media_upload": 1, + "default_value": "", + "delay": 0 + }, + { + "key": "field_58f5b1a066797", + "label": "Notisdata", + "name": "submission_notice_data", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "default_value": 1, + "message": "Visa svarsdata i notisens inneh\u00e5ll", + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_58f5c0bbee90c", + "label": "Svarskopia", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_58f5b1c266798", + "label": "Till\u00e5t svarskopia", + "name": "allow_sender_copy", + "type": "true_false", + "instructions": "Skicka en kopia av svaret till avs\u00e4ndarens e-postadress.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "default_value": 0, + "message": "Ja, till\u00e5t anv\u00e4ndare att f\u00e5 en svarskopia", + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59a561ed8a256", + "label": "Egen \u00e4mnesrad f\u00f6r svarskopia", + "name": "copy_custom_subject", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58f5b1c266798", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Kryssa i rutan f\u00f6r att ange egen \u00e4mnesrad.", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_59a562508a257", + "label": "\u00c4mnesrad", + "name": "copy_subject", + "type": "text", + "instructions": "Ange egen \u00e4mnesrad. Standardv\u00e4rde \u00e4r \u201cSvarskopia\u201d.", + "required": 1, + "conditional_logic": [ + [ + { + "field": "field_59a561ed8a256", + "operator": "==", + "value": "1" + }, + { + "field": "field_58f5b1c266798", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_58f5d09142d94", + "label": "Meddelande i svarskopia", + "name": "sender_copy_message", + "type": "wysiwyg", + "instructions": "Meddelandet kommer att skickas tillsammans med svarsdatan.", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_58f5b1c266798", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "tabs": "all", + "toolbar": "full", + "media_upload": 1, + "default_value": "", + "delay": 0 + }, + { + "key": "field_58f5c0abee90b", + "label": "Autosvar", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_58f5be7475dbf", + "label": "Autosvar", + "name": "autoreply", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": 0, + "message": "Skicka autosvar n\u00e4r formul\u00e4ret har skickats", + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_58f5bf7329b3f", + "label": "\u00c4mne f\u00f6r autosvar", + "name": "auto_reply_subject", + "type": "text", + "instructions": "", + "required": 1, + "conditional_logic": [ + [ + { + "field": "field_58f5be7475dbf", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "placeholder": "", + "prepend": "", + "append": "" + }, + { + "key": "field_58f5bea775dc0", + "label": "Meddelande f\u00f6r autosvar", + "name": "auto_reply_content", + "type": "wysiwyg", + "instructions": "", + "required": 1, + "conditional_logic": [ + [ + { + "field": "field_58f5be7475dbf", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "tabs": "all", + "toolbar": "full", + "media_upload": 1, + "default_value": "", + "delay": 0 + }, + { + "key": "field_5a12ad75f9444", + "label": "Avancerade inst\u00e4llningar", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_5a1837b50079f", + "label": "Spara till posttyp", + "name": "custom_submission_post_type", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "message": "Spara formul\u00e4rsvar till en anpassad posttyp.", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5a059dcc4c2a0", + "label": "Posttyp", + "name": "submission_post_type", + "type": "select", + "instructions": "V\u00e4lj posttyp", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5a1837b50079f", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "choices": { + "form-submissions": "Formul\u00e4rsvar", + "event": "H\u00e4ndelse", + "ticket": "\u00c4rende", + "listing": "Lista", + "lovprogram": "Lovprogram", + "johan-test123": "Johan-test123", + "projekt": "Projekt", + "idea": "Ideas" + }, + "default_value": "form-submissions", + "allow_null": 0, + "multiple": 0, + "ui": 0, + "ajax": 0, + "return_format": "value", + "placeholder": "" + }, + { + "key": "field_5a12ae16f9445", + "label": "Redigerbar f\u00f6r anv\u00e4ndaren", + "name": "editable_front_end", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "message": "", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5a12afecf9446", + "label": "Redigerbar f\u00f6r redakt\u00f6r", + "name": "editable_back_end", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "message": "", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5b51a469880c0", + "label": "GDPR & Confidentiality", + "name": "", + "type": "tab", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "placement": "top", + "endpoint": 0 + }, + { + "key": "field_59df53ac189b8", + "label": "Notis om allm\u00e4n handling", + "name": "submission_public_act", + "type": "true_false", + "instructions": "L\u00e4gger till ett meddelande som informerar anv\u00e4ndaren om att formul\u00e4rsvaret blir en allm\u00e4n handling.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "L\u00e4gg till notis om allm\u00e4n handling", + "default_value": 1, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5b51c75ca46d1", + "label": "Public act content", + "name": "submission_public_act_content", + "type": "textarea", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_59df53ac189b8", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "maxlength": "", + "rows": "", + "new_lines": "" + }, + { + "key": "field_5b3c8d3f4e20a", + "label": "GDPR \u00f6verensst\u00e4mmelsemeddelande", + "name": "gdpr_complience_notice", + "type": "true_false", + "instructions": "Inneh\u00e5ller information om hur personlig data hanteras.", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "message": "Visa ett meddelande (och en checkbox) som \u00e4r n\u00f6dv\u00e4ndig f\u00f6r att posta formul\u00e4ret.", + "default_value": 1, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5b3c8e0a6e7f2", + "label": "Inneh\u00e5ll f\u00f6r GDPR meddelande", + "name": "gdpr_complience_notice_content", + "type": "wysiwyg", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5b3c8d3f4e20a", + "operator": "==", + "value": "1" + } + ] + ], + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "I det h\u00e4r formul\u00e4ret samlar vi in personuppgifter om dig f\u00f6r att [det formul\u00e4ret ska anv\u00e4ndas till]. Uppgifterna kommer inte att hanteras f\u00f6r n\u00e5got annat syfte, och kommer att raderas n\u00e4r [\u00e4rendet \u00e4r avslutat]. L\u00e4s om hur Helsingborgs stad hanterar personuppgifter<\/a>.", + "tabs": "all", + "toolbar": "full", + "media_upload": 0, + "delay": 0 + }, + { + "key": "field_5b2a3840ff029", + "label": "Databaslagring", + "name": "db_storage", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "message": "Lagra inte postad data i databasen.", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5b3384dbf9cac", + "label": "Anv\u00e4ndarbegr\u00e4nsning", + "name": "user_restriction", + "type": "true_false", + "instructions": "", + "required": 0, + "conditional_logic": [ + [ + { + "field": "field_5b2a3840ff029", + "operator": "!=", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "message": "", + "default_value": 0, + "ui": 0, + "ui_on_text": "", + "ui_off_text": "" + }, + { + "key": "field_5b338525f9cad", + "label": "Betrodda anv\u00e4ndare", + "name": "granted_users", + "type": "user", + "instructions": "L\u00e4gg till betrodda anv\u00e4ndare som har access till det som postas fr\u00e5n formul\u00e4ren", + "required": 1, + "conditional_logic": [ + [ + { + "field": "field_5b3384dbf9cac", + "operator": "==", + "value": "1" + }, + { + "field": "field_5b2a3840ff029", + "operator": "!=", + "value": "1" + } + ] + ], + "wrapper": { + "width": "50", + "class": "", + "id": "" + }, + "role": "", + "allow_null": 0, + "multiple": 1, + "return_format": "array" + } + ], + "location": [ + [ + { + "param": "post_type", + "operator": "==", + "value": "mod-form" + } + ], + [ + { + "param": "block", + "operator": "==", + "value": "acf\/form" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": true, + "description": "", + "show_in_rest": 0, + "acfe_display_title": "", + "acfe_autosync": "", + "acfe_form": 0, + "acfe_meta": "", + "acfe_note": "" +}] \ No newline at end of file diff --git a/acf-fields/php/form.php b/acf-fields/php/form.php index 59a92297..df9fe460 100644 --- a/acf-fields/php/form.php +++ b/acf-fields/php/form.php @@ -1,2779 +1,2779 @@ - 'group_58eb301ecb36a', - 'title' => __('Form', 'modularity-form-builder'), - 'fields' => array( - 0 => array( - 'key' => 'field_58f5c009ee909', - 'label' => __('Formulärsfält', 'modularity-form-builder'), - 'name' => '', - 'type' => 'tab', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'placement' => 'top', - 'endpoint' => 0, - ), - 1 => array( - 'key' => 'field_58eb302883a68', - 'label' => __('Fält', 'modularity-form-builder'), - 'name' => 'form_fields', - 'type' => 'flexible_content', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'layouts' => array( - '58eb3033e588f' => array( - 'key' => '58eb3033e588f', - 'name' => 'sender', - 'label' => __('Avsändare', 'modularity-form-builder'), - 'display' => 'block', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb3944f7086', - 'label' => __('Fields to display', 'modularity-form-builder'), - 'name' => 'fields', - 'type' => 'checkbox', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '25', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - 'firstname' => __('Firstname', 'modularity-form-builder'), - 'lastname' => __('Lastname', 'modularity-form-builder'), - 'email' => __('Email', 'modularity-form-builder'), - 'phone' => __('Phone', 'modularity-form-builder'), - 'address' => __('Address', 'modularity-form-builder'), - ), - 'allow_custom' => 0, - 'save_custom' => 0, - 'default_value' => array( - 0 => __('firstname', 'modularity-form-builder'), - 1 => __('lastname', 'modularity-form-builder'), - 2 => __('email', 'modularity-form-builder'), - ), - 'layout' => 'vertical', - 'toggle' => 0, - 'return_format' => 'value', - ), - 1 => array( - 'key' => 'field_58eb3a9bf7087', - 'label' => __('Required fields', 'modularity-form-builder'), - 'name' => 'required_fields', - 'type' => 'checkbox', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '25', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - 'firstname' => __('Firstname', 'modularity-form-builder'), - 'lastname' => __('Lastname', 'modularity-form-builder'), - 'email' => __('Email', 'modularity-form-builder'), - 'phone' => __('Phone', 'modularity-form-builder'), - 'address' => __('Address', 'modularity-form-builder'), - ), - 'allow_custom' => 0, - 'save_custom' => 0, - 'default_value' => array( - 0 => __('firstname', 'modularity-form-builder'), - 1 => __('lastname', 'modularity-form-builder'), - 2 => __('email', 'modularity-form-builder'), - ), - 'layout' => 'vertical', - 'toggle' => 0, - 'return_format' => 'value', - ), - 2 => array( - 'key' => 'field_5a0abd4a4342a', - 'label' => __('Custom labels', 'modularity-form-builder'), - 'name' => 'custom_sender_labels', - 'type' => 'group', - 'instructions' => __('Check this box to add custom labels for sender input fields. Leave empty to use default labels', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'layout' => 'row', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_5a0ac34055126', - 'label' => __('Add labels', 'modularity-form-builder'), - 'name' => 'add_sender_labels', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => '', - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 1 => array( - 'key' => 'field_5a0abd5f4342b', - 'label' => __('Firstname', 'modularity-form-builder'), - 'name' => 'firstname', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a0ac34055126', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 2 => array( - 'key' => 'field_5a0abd804342c', - 'label' => __('Lastname', 'modularity-form-builder'), - 'name' => 'lastname', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a0ac34055126', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 3 => array( - 'key' => 'field_5a0abe977e028', - 'label' => __('Email', 'modularity-form-builder'), - 'name' => 'email', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a0ac34055126', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 4 => array( - 'key' => 'field_5a0ac1fda1240', - 'label' => __('Phone', 'modularity-form-builder'), - 'name' => 'phone', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a0ac34055126', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 5 => array( - 'key' => 'field_5a0ac216a1241', - 'label' => __('Street address', 'modularity-form-builder'), - 'name' => 'street_address', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a0ac34055126', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 6 => array( - 'key' => 'field_5a0ac228a1242', - 'label' => __('Postal code', 'modularity-form-builder'), - 'name' => 'postal_code', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a0ac34055126', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 7 => array( - 'key' => 'field_5a0ac236a1243', - 'label' => __('City', 'modularity-form-builder'), - 'name' => 'city', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a0ac34055126', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - ), - ), - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - '58eb3f2cd914a' => array( - 'key' => '58eb3f2cd914a', - 'name' => 'message', - 'label' => __('Meddelande', 'modularity-form-builder'), - 'display' => 'block', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb3f37d914b', - 'label' => __('Field label', 'modularity-form-builder'), - 'name' => 'label', - 'type' => 'text', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => __('Message', 'modularity-form-builder'), - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 1 => array( - 'key' => 'field_597b20d5392bc', - 'label' => __('Field description', 'modularity-form-builder'), - 'name' => 'description', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 2 => array( - 'key' => 'field_58eb3f5ed914c', - 'label' => __('Required', 'modularity-form-builder'), - 'name' => 'required', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => 0, - 'message' => __('Required field', 'modularity-form-builder'), - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 3 => array( - 'key' => 'field_59b69b14e2abf', - 'label' => __('Conditional logic', 'modularity-form-builder'), - 'name' => 'conditional_logic', - 'type' => 'true_false', - 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Add conditional logic', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 4 => array( - 'key' => 'field_59b69b16e2ac0', - 'label' => __('Conditonal field', 'modularity-form-builder'), - 'name' => 'conditonal_field', - 'type' => 'select', - 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59b69b14e2abf', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - 5 => array( - 'key' => 'field_5a1be0449d8b8', - 'label' => __('Custom post type content', 'modularity-form-builder'), - 'name' => 'custom_post_type_content', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a1837b50079f', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Use this field as post content. Default is empty content field.', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - '58eb552a8189e' => array( - 'key' => '58eb552a8189e', - 'name' => 'input', - 'label' => __('Inmatning', 'modularity-form-builder'), - 'display' => 'block', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb55338189f', - 'label' => __('Field label', 'modularity-form-builder'), - 'name' => 'label', - 'type' => 'text', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 1 => array( - 'key' => 'field_597b2100392bd', - 'label' => __('Field description', 'modularity-form-builder'), - 'name' => 'description', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 2 => array( - 'key' => 'field_58eb5547818a0', - 'label' => __('Field value type', 'modularity-form-builder'), - 'name' => 'value_type', - 'type' => 'select', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - 'text' => __('Text', 'modularity-form-builder'), - 'number' => __('Number', 'modularity-form-builder'), - 'email' => __('Email', 'modularity-form-builder'), - 'tel' => __('Phone number', 'modularity-form-builder'), - 'color' => __('Color', 'modularity-form-builder'), - 'date' => __('Date', 'modularity-form-builder'), - 'month' => __('Month', 'modularity-form-builder'), - 'week' => __('Week', 'modularity-form-builder'), - 'range' => __('Range', 'modularity-form-builder'), - 'search' => __('Search', 'modularity-form-builder'), - 'time' => __('Time', 'modularity-form-builder'), - 'url' => __('Url', 'modularity-form-builder'), - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - 3 => array( - 'key' => 'field_58eb572440304', - 'label' => __('Min value', 'modularity-form-builder'), - 'name' => 'min_value', - 'type' => 'number', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'number', - ), - ), - 1 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'range', - ), - ), - ), - 'wrapper' => array( - 'width' => '33.3333', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'min' => '', - 'max' => '', - 'step' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 4 => array( - 'key' => 'field_58eb574140305', - 'label' => __('Max value', 'modularity-form-builder'), - 'name' => 'max_value', - 'type' => 'number', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'number', - ), - ), - 1 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'range', - ), - ), - ), - 'wrapper' => array( - 'width' => '33.3333', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'min' => '', - 'max' => '', - 'step' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 5 => array( - 'key' => 'field_58eb57a645640', - 'label' => __('Step', 'modularity-form-builder'), - 'name' => 'step', - 'type' => 'number', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'number', - ), - ), - 1 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'range', - ), - ), - ), - 'wrapper' => array( - 'width' => '33.3333', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'min' => '', - 'max' => '', - 'step' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 6 => array( - 'key' => 'field_58eb62d1ec890', - 'label' => __('Min date', 'modularity-form-builder'), - 'name' => 'min_value', - 'type' => 'date_picker', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'date', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'display_format' => 'Y-m-d', - 'return_format' => 'Y-m-d', - 'first_day' => 1, - ), - 7 => array( - 'key' => 'field_58eb62feec891', - 'label' => __('Max date', 'modularity-form-builder'), - 'name' => 'max_value', - 'type' => 'date_picker', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'date', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'display_format' => 'Y-m-d', - 'return_format' => 'Y-m-d', - 'first_day' => 1, - ), - 8 => array( - 'key' => 'field_5dfb9b0074cfc', - 'label' => __('Min time', 'modularity-form-builder'), - 'name' => 'min_time_value', - 'type' => 'time_picker', - 'instructions' => __('Select minimum time frame', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'time', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'display_format' => 'H:i:s', - 'return_format' => 'H:i:s', - ), - 9 => array( - 'key' => 'field_5dfbf8a374cfe', - 'label' => __('Max time', 'modularity-form-builder'), - 'name' => 'max_time_value', - 'type' => 'time_picker', - 'instructions' => __('Select maximum time frame', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58eb5547818a0', - 'operator' => '==', - 'value' => 'time', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'display_format' => 'H:i:s', - 'return_format' => 'H:i:s', - ), - 10 => array( - 'key' => 'field_58eb5614c5514', - 'label' => __('Required', 'modularity-form-builder'), - 'name' => 'required', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => 0, - 'message' => __('Required', 'modularity-form-builder'), - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 11 => array( - 'key' => 'field_59b69ae3e2abd', - 'label' => __('Conditional logic', 'modularity-form-builder'), - 'name' => 'conditional_logic', - 'type' => 'true_false', - 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Add conditional logic', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 12 => array( - 'key' => 'field_59b69ae6e2abe', - 'label' => __('Conditonal field', 'modularity-form-builder'), - 'name' => 'conditonal_field', - 'type' => 'select', - 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59b69ae3e2abd', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - 13 => array( - 'key' => 'field_5a18388b007a2', - 'label' => __('Custom post type title', 'modularity-form-builder'), - 'name' => 'custom_post_type_title', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a1837b50079f', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Use this field as post title. Default title is the forms name.', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - '58eb670839fee' => array( - 'key' => '58eb670839fee', - 'name' => 'radio', - 'label' => __('Radiofält', 'modularity-form-builder'), - 'display' => 'block', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb675039ff1', - 'label' => __('Field label', 'modularity-form-builder'), - 'name' => 'label', - 'type' => 'text', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 1 => array( - 'key' => 'field_597b2112392be', - 'label' => __('Field description', 'modularity-form-builder'), - 'name' => 'description', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 2 => array( - 'key' => 'field_58eb670d39fef', - 'label' => __('Field values', 'modularity-form-builder'), - 'name' => 'values', - 'type' => 'repeater', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'collapsed' => '', - 'min' => 2, - 'max' => 0, - 'layout' => 'table', - 'button_label' => __('Lägg till rad', 'modularity-form-builder'), - 'rows_per_page' => 20, - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb672c39ff0', - 'label' => __('Value', 'modularity-form-builder'), - 'name' => 'value', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'parent_repeater' => 'field_58eb670d39fef', - ), - ), - ), - 3 => array( - 'key' => 'field_58eb699755795', - 'label' => __('Required', 'modularity-form-builder'), - 'name' => 'required', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => 0, - 'message' => __('Required', 'modularity-form-builder'), - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 4 => array( - 'key' => 'field_59b69ac9e2abb', - 'label' => __('Conditional logic', 'modularity-form-builder'), - 'name' => 'conditional_logic', - 'type' => 'true_false', - 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Add conditional logic', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 5 => array( - 'key' => 'field_59b69acbe2abc', - 'label' => __('Conditonal field', 'modularity-form-builder'), - 'name' => 'conditonal_field', - 'type' => 'select', - 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59b69ac9e2abb', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - '58eb6b023b076' => array( - 'key' => '58eb6b023b076', - 'name' => 'checkbox', - 'label' => __('Kryssruta', 'modularity-form-builder'), - 'display' => 'block', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb6b023b077', - 'label' => __('Field label', 'modularity-form-builder'), - 'name' => 'label', - 'type' => 'text', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 1 => array( - 'key' => 'field_597b211f392bf', - 'label' => __('Field description', 'modularity-form-builder'), - 'name' => 'description', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 2 => array( - 'key' => 'field_58eb6b023b078', - 'label' => __('Field values', 'modularity-form-builder'), - 'name' => 'values', - 'type' => 'repeater', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'min' => 1, - 'max' => 0, - 'layout' => 'table', - 'button_label' => __('Lägg till rad', 'modularity-form-builder'), - 'collapsed' => '', - 'rows_per_page' => 20, - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb6b023b079', - 'label' => __('Value', 'modularity-form-builder'), - 'name' => 'value', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'parent_repeater' => 'field_58eb6b023b078', - ), - ), - ), - 3 => array( - 'key' => 'field_58eb6b023b07a', - 'label' => __('Required', 'modularity-form-builder'), - 'name' => 'required', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => 0, - 'message' => __('Required', 'modularity-form-builder'), - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 4 => array( - 'key' => 'field_59b69ab2e2ab9', - 'label' => __('Conditional logic', 'modularity-form-builder'), - 'name' => 'conditional_logic', - 'type' => 'true_false', - 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Add conditional logic', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 5 => array( - 'key' => 'field_59b69ab5e2aba', - 'label' => __('Conditonal field', 'modularity-form-builder'), - 'name' => 'conditonal_field', - 'type' => 'select', - 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59b69ab2e2ab9', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - '58eb6bd234c19' => array( - 'key' => '58eb6bd234c19', - 'name' => 'select', - 'label' => __('Välj', 'modularity-form-builder'), - 'display' => 'block', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb6bd334c1a', - 'label' => __('Field label', 'modularity-form-builder'), - 'name' => 'label', - 'type' => 'text', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 1 => array( - 'key' => 'field_597b2132392c0', - 'label' => __('Field description', 'modularity-form-builder'), - 'name' => 'description', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 2 => array( - 'key' => 'field_58eb6bd334c1b', - 'label' => __('Field values', 'modularity-form-builder'), - 'name' => 'values', - 'type' => 'repeater', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'min' => 1, - 'max' => 0, - 'layout' => 'table', - 'button_label' => __('Lägg till rad', 'modularity-form-builder'), - 'collapsed' => '', - 'rows_per_page' => 20, - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb6bd334c1c', - 'label' => __('Value', 'modularity-form-builder'), - 'name' => 'value', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'parent_repeater' => 'field_58eb6bd334c1b', - ), - ), - ), - 3 => array( - 'key' => 'field_58eb6bd334c1d', - 'label' => __('Required', 'modularity-form-builder'), - 'name' => 'required', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => 0, - 'message' => __('Required', 'modularity-form-builder'), - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 4 => array( - 'key' => 'field_59b69a93e2ab7', - 'label' => __('Conditional logic', 'modularity-form-builder'), - 'name' => 'conditional_logic', - 'type' => 'true_false', - 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Add conditional logic', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 5 => array( - 'key' => 'field_59b69a96e2ab8', - 'label' => __('Conditonal field', 'modularity-form-builder'), - 'name' => 'conditonal_field', - 'type' => 'select', - 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59b69a93e2ab7', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - '58eccdd75ad90' => array( - 'key' => '58eccdd75ad90', - 'name' => 'file_upload', - 'label' => __('Filuppladdning', 'modularity-form-builder'), - 'display' => 'block', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58ecce8a5ad93', - 'label' => __('Field label', 'modularity-form-builder'), - 'name' => 'label', - 'type' => 'text', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 1 => array( - 'key' => 'field_638e0eadbf005', - 'label' => __('Button label', 'modularity-form-builder'), - 'name' => 'button_label', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 2 => array( - 'key' => 'field_597b213f392c1', - 'label' => __('Field description', 'modularity-form-builder'), - 'name' => 'description', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 3 => array( - 'key' => 'field_58eccde65ad91', - 'label' => __('Type', 'modularity-form-builder'), - 'name' => 'type', - 'type' => 'radio', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - 'single' => __('Single', 'modularity-form-builder'), - 'multiple' => __('Multiple', 'modularity-form-builder'), - ), - 'allow_null' => 0, - 'other_choice' => 0, - 'save_other_choice' => 0, - 'default_value' => '', - 'layout' => 'horizontal', - 'return_format' => 'value', - ), - 4 => array( - 'key' => 'field_58ece6685df9c', - 'label' => __('Max number of files', 'modularity-form-builder'), - 'name' => 'files_max', - 'type' => 'number', - 'instructions' => __('-1 for no limit', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58eccde65ad91', - 'operator' => '==', - 'value' => 'multiple', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => -1, - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'min' => '', - 'max' => '', - 'step' => '', - ), - 5 => array( - 'key' => 'field_58ecce105ad92', - 'label' => __('Allowed filetypes', 'modularity-form-builder'), - 'name' => 'filetypes', - 'type' => 'checkbox', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - 'video/*' => __('All video types', 'modularity-form-builder'), - 'image/*' => __('All image types', 'modularity-form-builder'), - '.jpg' => __('jpg', 'modularity-form-builder'), - '.png' => __('png', 'modularity-form-builder'), - '.gif' => __('gif', 'modularity-form-builder'), - '.mov' => __('mov', 'modularity-form-builder'), - '.webm' => __('webm', 'modularity-form-builder'), - '.mp4' => __('mp4', 'modularity-form-builder'), - '.mp3' => __('mp3', 'modularity-form-builder'), - '.ogg' => __('ogg', 'modularity-form-builder'), - '.aac' => __('aac', 'modularity-form-builder'), - '.doc' => __('doc', 'modularity-form-builder'), - '.docx' => __('docx', 'modularity-form-builder'), - '.xls' => __('xls', 'modularity-form-builder'), - '.xlsx' => __('xlsx', 'modularity-form-builder'), - '.pdf' => __('pdf', 'modularity-form-builder'), - ), - 'allow_custom' => 0, - 'save_custom' => 0, - 'default_value' => array( - ), - 'layout' => 'vertical', - 'toggle' => 0, - 'return_format' => 'value', - ), - 6 => array( - 'key' => 'field_5a0c48839fa5d', - 'label' => __('Upload videos to external service', 'modularity-form-builder'), - 'name' => 'upload_videos_external', - 'type' => 'true_false', - 'instructions' => __('Check this box to upload upload videos to an external service instead of locally.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58ecce105ad92', - 'operator' => '==', - 'value' => 'video/*', - ), - ), - 1 => array( - 0 => array( - 'field' => 'field_58ecce105ad92', - 'operator' => '==', - 'value' => '.mov', - ), - ), - 2 => array( - 0 => array( - 'field' => 'field_58ecce105ad92', - 'operator' => '==', - 'value' => '.webm', - ), - ), - 3 => array( - 0 => array( - 'field' => 'field_58ecce105ad92', - 'operator' => '==', - 'value' => '.mp4', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Upload external', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 7 => array( - 'key' => 'field_58ecd86751bf6', - 'label' => __('Required', 'modularity-form-builder'), - 'name' => 'required', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Required', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 8 => array( - 'key' => 'field_59b69a7ae2ab5', - 'label' => __('Conditional logic', 'modularity-form-builder'), - 'name' => 'conditional_logic', - 'type' => 'true_false', - 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Add conditional logic', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 9 => array( - 'key' => 'field_59b69a7de2ab6', - 'label' => __('Conditonal field', 'modularity-form-builder'), - 'name' => 'conditonal_field', - 'type' => 'select', - 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59b69a7ae2ab5', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - '59b13312b61ac' => array( - 'key' => '59b13312b61ac', - 'name' => 'custom_content', - 'label' => __('Eget innehåll', 'modularity-form-builder'), - 'display' => 'block', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_59b13312b61ad', - 'label' => __('Content', 'modularity-form-builder'), - 'name' => 'content', - 'type' => 'wysiwyg', - 'instructions' => __('Add custom content to the form. This will not be sent in e-mail messages.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'tabs' => 'all', - 'toolbar' => 'full', - 'media_upload' => 1, - 'delay' => 0, - ), - 1 => array( - 'key' => 'field_59b134beb61b0', - 'label' => __('Conditional logic', 'modularity-form-builder'), - 'name' => 'conditional_logic', - 'type' => 'true_false', - 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Add conditional logic', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 2 => array( - 'key' => 'field_59b635765e86b', - 'label' => __('Conditonal field', 'modularity-form-builder'), - 'name' => 'conditonal_field', - 'type' => 'select', - 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59b134beb61b0', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - '5a266baf943ab' => array( - 'key' => '5a266baf943ab', - 'name' => 'collapse', - 'label' => __('Fäll ihop', 'modularity-form-builder'), - 'display' => 'block', - 'sub_fields' => array( - 0 => array( - 'key' => 'field_5a26ac03821d9', - 'label' => __('Collapse', 'modularity-form-builder'), - 'name' => '', - 'type' => 'message', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Adds a collapse button that toggles all fields below. This is a layout field and will not be sent in e-mail messages.', 'modularity-form-builder'), - 'new_lines' => 'wpautop', - 'esc_html' => 0, - ), - 1 => array( - 'key' => 'field_5a266bb8943af', - 'label' => __('Button text', 'modularity-form-builder'), - 'name' => 'button_text', - 'type' => 'text', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 2 => array( - 'key' => 'field_5a266baf943ad', - 'label' => __('Conditional logic', 'modularity-form-builder'), - 'name' => 'conditional_logic', - 'type' => 'true_false', - 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Add conditional logic', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 3 => array( - 'key' => 'field_5a266baf943ae', - 'label' => __('Conditonal field', 'modularity-form-builder'), - 'name' => 'conditonal_field', - 'type' => 'select', - 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a266baf943ad', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - '5a268f41821d8' => array( - 'key' => '5a268f41821d8', - 'name' => '', - 'label' => '', - 'display' => 'block', - 'sub_fields' => array( - ), - 'min' => '', - 'max' => '', - 'acfe_flexible_render_template' => false, - 'acfe_flexible_render_style' => false, - 'acfe_flexible_render_script' => false, - 'acfe_flexible_thumbnail' => false, - 'acfe_flexible_settings' => false, - 'acfe_flexible_settings_size' => 'medium', - 'acfe_flexible_modal_edit_size' => false, - 'acfe_flexible_category' => false, - ), - ), - 'button_label' => __('Formulärsfält', 'modularity-form-builder'), - 'min' => 1, - 'max' => '', - 'acfe_flexible_advanced' => false, - 'acfe_flexible_stylised_button' => false, - 'acfe_flexible_hide_empty_message' => false, - 'acfe_flexible_empty_message' => '', - 'acfe_flexible_layouts_templates' => false, - 'acfe_flexible_layouts_previews' => false, - 'acfe_flexible_layouts_placeholder' => false, - 'acfe_flexible_layouts_thumbnails' => false, - 'acfe_flexible_layouts_settings' => false, - 'acfe_flexible_async' => array( - ), - 'acfe_flexible_add_actions' => array( - ), - 'acfe_flexible_remove_button' => array( - ), - 'acfe_flexible_layouts_state' => false, - 'acfe_flexible_modal_edit' => array( - 'acfe_flexible_modal_edit_enabled' => false, - 'acfe_flexible_modal_edit_size' => 'large', - ), - 'acfe_flexible_modal' => array( - 'acfe_flexible_modal_enabled' => false, - 'acfe_flexible_modal_title' => false, - 'acfe_flexible_modal_size' => 'full', - 'acfe_flexible_modal_col' => '4', - 'acfe_flexible_modal_categories' => false, - ), - ), - 2 => array( - 'key' => 'field_58f5c12da612a', - 'label' => __('Formulärsvar', 'modularity-form-builder'), - 'name' => '', - 'type' => 'tab', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'placement' => 'top', - 'endpoint' => 0, - ), - 3 => array( - 'key' => 'field_58eb3700191e7', - 'label' => __('Text på skicka-knapp', 'modularity-form-builder'), - 'name' => 'submit_button_text', - 'type' => 'text', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => __('Skicka', 'modularity-form-builder'), - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 4 => array( - 'key' => 'field_58eb7b11cc4f5', - 'label' => __('Meddelande vid inskickning', 'modularity-form-builder'), - 'name' => 'subimission_notice', - 'type' => 'wysiwyg', - 'instructions' => __('Text som visas när ett formulär skickats.', 'modularity-form-builder'), - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'tabs' => 'all', - 'toolbar' => 'full', - 'media_upload' => 1, - 'delay' => 0, - ), - 5 => array( - 'key' => 'field_58f5c029ee90a', - 'label' => __('Notiser', 'modularity-form-builder'), - 'name' => '', - 'type' => 'tab', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'placement' => 'top', - 'endpoint' => 0, - ), - 6 => array( - 'key' => 'field_59a4259acfea0', - 'label' => __('Notifikation när formulär skickas', 'modularity-form-builder'), - 'name' => '', - 'type' => 'message', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => '', - 'new_lines' => 'wpautop', - 'esc_html' => 0, - ), - 7 => array( - 'key' => 'field_58eb6ee89aa7c', - 'label' => __('Notifiera e-postadresser', 'modularity-form-builder'), - 'name' => 'notify', - 'type' => 'repeater', - 'instructions' => __('Ett mail skickas ut till nedanstående användare med innehållet i svaret.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'collapsed' => '', - 'min' => 0, - 'max' => 0, - 'layout' => 'block', - 'button_label' => __('Lägg till e-postadress', 'modularity-form-builder'), - 'rows_per_page' => 20, - 'sub_fields' => array( - 0 => array( - 'key' => 'field_58eb6f389aa7d', - 'label' => __('E-postadress', 'modularity-form-builder'), - 'name' => 'email', - 'type' => 'email', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '70', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'parent_repeater' => 'field_58eb6ee89aa7c', - ), - 1 => array( - 'key' => 'field_5a55d5e27740d', - 'label' => __('Lägg till villkor', 'modularity-form-builder'), - 'name' => 'condition', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '30', - 'class' => '', - 'id' => '', - ), - 'message' => '', - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - 'parent_repeater' => 'field_58eb6ee89aa7c', - ), - 2 => array( - 'key' => 'field_5a55de5ebfa4d', - 'label' => __('Krav', 'modularity-form-builder'), - 'name' => '', - 'type' => 'message', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a55d5e27740d', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('
Conditional fields must be a multi-choise field that is required to fill in and lacks conditional arguments. Note that you may not get email notfications if the requirements aren\'t fulfilled.
', 'modularity-form-builder'), - 'new_lines' => '', - 'esc_html' => 0, - 'parent_repeater' => 'field_58eb6ee89aa7c', - ), - 3 => array( - 'key' => 'field_5a55d69512773', - 'label' => __('Skicka bara när', 'modularity-form-builder'), - 'name' => 'form_conditional_field', - 'type' => 'select', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a55d5e27740d', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - 'parent_repeater' => 'field_58eb6ee89aa7c', - ), - 4 => array( - 'key' => 'field_5a55db0812774', - 'label' => __('Matchar', 'modularity-form-builder'), - 'name' => 'form_conditional_field_equals', - 'type' => 'select', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a55d5e27740d', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - ), - 'default_value' => false, - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - 'parent_repeater' => 'field_58eb6ee89aa7c', - ), - ), - ), - 8 => array( - 'key' => 'field_59720c161a3a1', - 'label' => __('Egen ämnesrad', 'modularity-form-builder'), - 'name' => 'notification_custom_subject', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Kryssa i rutan för att ange egen ämnesrad.', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 9 => array( - 'key' => 'field_5972079df9f04', - 'label' => __('Ämnesrad', 'modularity-form-builder'), - 'name' => 'notification_subject', - 'type' => 'text', - 'instructions' => __('Ange egen ämnesrad. Standardvärde är “Nytt formulärsvar”.', 'modularity-form-builder'), - 'required' => 1, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59720c161a3a1', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 10 => array( - 'key' => 'field_58f5d00332436', - 'label' => __('Meddelande i notis', 'modularity-form-builder'), - 'name' => 'notification_message', - 'type' => 'wysiwyg', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'tabs' => 'all', - 'toolbar' => 'full', - 'media_upload' => 1, - 'default_value' => '', - 'delay' => 0, - ), - 11 => array( - 'key' => 'field_58f5b1a066797', - 'label' => __('Notisdata', 'modularity-form-builder'), - 'name' => 'submission_notice_data', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'default_value' => 1, - 'message' => __('Visa svarsdata i notisens innehåll', 'modularity-form-builder'), - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 12 => array( - 'key' => 'field_58f5c0bbee90c', - 'label' => __('Svarskopia', 'modularity-form-builder'), - 'name' => '', - 'type' => 'tab', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'placement' => 'top', - 'endpoint' => 0, - ), - 13 => array( - 'key' => 'field_58f5b1c266798', - 'label' => __('Tillåt svarskopia', 'modularity-form-builder'), - 'name' => 'allow_sender_copy', - 'type' => 'true_false', - 'instructions' => __('Skicka en kopia av svaret till avsändarens e-postadress.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'default_value' => 0, - 'message' => __('Ja, tillåt användare att få en svarskopia', 'modularity-form-builder'), - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 14 => array( - 'key' => 'field_59a561ed8a256', - 'label' => __('Egen ämnesrad för svarskopia', 'modularity-form-builder'), - 'name' => 'copy_custom_subject', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58f5b1c266798', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Kryssa i rutan för att ange egen ämnesrad.', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 15 => array( - 'key' => 'field_59a562508a257', - 'label' => __('Ämnesrad', 'modularity-form-builder'), - 'name' => 'copy_subject', - 'type' => 'text', - 'instructions' => __('Ange egen ämnesrad. Standardvärde är “Svarskopia”.', 'modularity-form-builder'), - 'required' => 1, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59a561ed8a256', - 'operator' => '==', - 'value' => '1', - ), - 1 => array( - 'field' => 'field_58f5b1c266798', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - 'maxlength' => '', - ), - 16 => array( - 'key' => 'field_58f5d09142d94', - 'label' => __('Meddelande i svarskopia', 'modularity-form-builder'), - 'name' => 'sender_copy_message', - 'type' => 'wysiwyg', - 'instructions' => __('Meddelandet kommer att skickas tillsammans med svarsdatan.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58f5b1c266798', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'tabs' => 'all', - 'toolbar' => 'full', - 'media_upload' => 1, - 'default_value' => '', - 'delay' => 0, - ), - 17 => array( - 'key' => 'field_58f5c0abee90b', - 'label' => __('Autosvar', 'modularity-form-builder'), - 'name' => '', - 'type' => 'tab', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'placement' => 'top', - 'endpoint' => 0, - ), - 18 => array( - 'key' => 'field_58f5be7475dbf', - 'label' => __('Autosvar', 'modularity-form-builder'), - 'name' => 'autoreply', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => 0, - 'message' => __('Skicka autosvar när formuläret har skickats', 'modularity-form-builder'), - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 19 => array( - 'key' => 'field_58f5bf7329b3f', - 'label' => __('Ämne för autosvar', 'modularity-form-builder'), - 'name' => 'auto_reply_subject', - 'type' => 'text', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58f5be7475dbf', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'maxlength' => '', - 'placeholder' => '', - 'prepend' => '', - 'append' => '', - ), - 20 => array( - 'key' => 'field_58f5bea775dc0', - 'label' => __('Meddelande för autosvar', 'modularity-form-builder'), - 'name' => 'auto_reply_content', - 'type' => 'wysiwyg', - 'instructions' => '', - 'required' => 1, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_58f5be7475dbf', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'tabs' => 'all', - 'toolbar' => 'full', - 'media_upload' => 1, - 'default_value' => '', - 'delay' => 0, - ), - 21 => array( - 'key' => 'field_5a12ad75f9444', - 'label' => __('Avancerade inställningar', 'modularity-form-builder'), - 'name' => '', - 'type' => 'tab', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'placement' => 'top', - 'endpoint' => 0, - ), - 22 => array( - 'key' => 'field_5a1837b50079f', - 'label' => __('Spara till posttyp', 'modularity-form-builder'), - 'name' => 'custom_submission_post_type', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'message' => __('Spara formulärsvar till en anpassad posttyp.', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 23 => array( - 'key' => 'field_5a059dcc4c2a0', - 'label' => __('Posttyp', 'modularity-form-builder'), - 'name' => 'submission_post_type', - 'type' => 'select', - 'instructions' => __('Välj posttyp', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5a1837b50079f', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'choices' => array( - 'form-submissions' => __('Formulärsvar', 'modularity-form-builder'), - 'event' => __('Händelse', 'modularity-form-builder'), - 'ticket' => __('Ärende', 'modularity-form-builder'), - 'listing' => __('Lista', 'modularity-form-builder'), - 'lovprogram' => __('Lovprogram', 'modularity-form-builder'), - 'johan-test123' => __('Johan-test123', 'modularity-form-builder'), - 'projekt' => __('Projekt', 'modularity-form-builder'), - 'idea' => __('Ideas', 'modularity-form-builder'), - ), - 'default_value' => __('form-submissions', 'modularity-form-builder'), - 'allow_null' => 0, - 'multiple' => 0, - 'ui' => 0, - 'ajax' => 0, - 'return_format' => 'value', - 'placeholder' => '', - ), - 24 => array( - 'key' => 'field_5a12ae16f9445', - 'label' => __('Redigerbar för användaren', 'modularity-form-builder'), - 'name' => 'editable_front_end', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'message' => '', - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 25 => array( - 'key' => 'field_5a12afecf9446', - 'label' => __('Redigerbar för redaktör', 'modularity-form-builder'), - 'name' => 'editable_back_end', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'message' => '', - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 26 => array( - 'key' => 'field_5b51a469880c0', - 'label' => __('GDPR & Confidentiality', 'modularity-form-builder'), - 'name' => '', - 'type' => 'tab', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'placement' => 'top', - 'endpoint' => 0, - ), - 27 => array( - 'key' => 'field_59df53ac189b8', - 'label' => __('Notis om allmän handling', 'modularity-form-builder'), - 'name' => 'submission_public_act', - 'type' => 'true_false', - 'instructions' => __('Lägger till ett meddelande som informerar användaren om att formulärsvaret blir en allmän handling.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Lägg till notis om allmän handling', 'modularity-form-builder'), - 'default_value' => 1, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 28 => array( - 'key' => 'field_5b51c75ca46d1', - 'label' => __('Public act content', 'modularity-form-builder'), - 'name' => 'submission_public_act_content', - 'type' => 'textarea', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_59df53ac189b8', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => '', - 'placeholder' => '', - 'maxlength' => '', - 'rows' => '', - 'new_lines' => '', - ), - 29 => array( - 'key' => 'field_5b3c8d3f4e20a', - 'label' => __('GDPR överensstämmelsemeddelande', 'modularity-form-builder'), - 'name' => 'gdpr_complience_notice', - 'type' => 'true_false', - 'instructions' => __('Innehåller information om hur personlig data hanteras.', 'modularity-form-builder'), - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'message' => __('Visa ett meddelande (och en checkbox) som är nödvändig för att posta formuläret.', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 30 => array( - 'key' => 'field_5b3c8e0a6e7f2', - 'label' => __('Innehåll för GDPR meddelande', 'modularity-form-builder'), - 'name' => 'gdpr_complience_notice_content', - 'type' => 'wysiwyg', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5b3c8d3f4e20a', - 'operator' => '==', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '', - 'class' => '', - 'id' => '', - ), - 'default_value' => __('I det här formuläret samlar vi in personuppgifter om dig för att [det formuläret ska användas till]. Uppgifterna kommer inte att hanteras för något annat syfte, och kommer att raderas när [ärendet är avslutat].
Läs om hur Helsingborgs stad hanterar personuppgifter.', 'modularity-form-builder'), - 'tabs' => 'all', - 'toolbar' => 'full', - 'media_upload' => 0, - 'delay' => 0, - ), - 31 => array( - 'key' => 'field_5b2a3840ff029', - 'label' => __('Databaslagring', 'modularity-form-builder'), - 'name' => 'db_storage', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => 0, - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'message' => __('Lagra inte postad data i databasen.', 'modularity-form-builder'), - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 32 => array( - 'key' => 'field_5b3384dbf9cac', - 'label' => __('Användarbegränsning', 'modularity-form-builder'), - 'name' => 'user_restriction', - 'type' => 'true_false', - 'instructions' => '', - 'required' => 0, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5b2a3840ff029', - 'operator' => '!=', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'message' => '', - 'default_value' => 0, - 'ui' => 0, - 'ui_on_text' => '', - 'ui_off_text' => '', - ), - 33 => array( - 'key' => 'field_5b338525f9cad', - 'label' => __('Betrodda användare', 'modularity-form-builder'), - 'name' => 'granted_users', - 'type' => 'user', - 'instructions' => __('Lägg till betrodda användare som har access till det som postas från formulären', 'modularity-form-builder'), - 'required' => 1, - 'conditional_logic' => array( - 0 => array( - 0 => array( - 'field' => 'field_5b3384dbf9cac', - 'operator' => '==', - 'value' => '1', - ), - 1 => array( - 'field' => 'field_5b2a3840ff029', - 'operator' => '!=', - 'value' => '1', - ), - ), - ), - 'wrapper' => array( - 'width' => '50', - 'class' => '', - 'id' => '', - ), - 'role' => '', - 'allow_null' => 0, - 'multiple' => 1, - 'return_format' => 'array', - ), - ), - 'location' => array( - 0 => array( - 0 => array( - 'param' => 'post_type', - 'operator' => '==', - 'value' => 'mod-form', - ), - ), - 1 => array( - 0 => array( - 'param' => 'block', - 'operator' => '==', - 'value' => 'acf/form', - ), - ), - ), - 'menu_order' => 0, - 'position' => 'normal', - 'style' => 'default', - 'label_placement' => 'top', - 'instruction_placement' => 'label', - 'hide_on_screen' => '', - 'active' => true, - 'description' => '', - 'show_in_rest' => 0, - 'acfe_display_title' => '', - 'acfe_autosync' => '', - 'acfe_form' => 0, - 'acfe_meta' => '', - 'acfe_note' => '', -)); + 'group_58eb301ecb36a', + 'title' => __('Form', 'modularity-form-builder'), + 'fields' => array( + 0 => array( + 'key' => 'field_58f5c009ee909', + 'label' => __('Formulärsfält', 'modularity-form-builder'), + 'name' => '', + 'type' => 'tab', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'placement' => 'top', + 'endpoint' => 0, + ), + 1 => array( + 'key' => 'field_58eb302883a68', + 'label' => __('Fält', 'modularity-form-builder'), + 'name' => 'form_fields', + 'type' => 'flexible_content', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'layouts' => array( + '58eb3033e588f' => array( + 'key' => '58eb3033e588f', + 'name' => 'sender', + 'label' => __('Avsändare', 'modularity-form-builder'), + 'display' => 'block', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb3944f7086', + 'label' => __('Fields to display', 'modularity-form-builder'), + 'name' => 'fields', + 'type' => 'checkbox', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '25', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + 'firstname' => __('Firstname', 'modularity-form-builder'), + 'lastname' => __('Lastname', 'modularity-form-builder'), + 'email' => __('Email', 'modularity-form-builder'), + 'phone' => __('Phone', 'modularity-form-builder'), + 'address' => __('Address', 'modularity-form-builder'), + ), + 'allow_custom' => 0, + 'save_custom' => 0, + 'default_value' => array( + 0 => __('firstname', 'modularity-form-builder'), + 1 => __('lastname', 'modularity-form-builder'), + 2 => __('email', 'modularity-form-builder'), + ), + 'layout' => 'vertical', + 'toggle' => 0, + 'return_format' => 'value', + ), + 1 => array( + 'key' => 'field_58eb3a9bf7087', + 'label' => __('Required fields', 'modularity-form-builder'), + 'name' => 'required_fields', + 'type' => 'checkbox', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '25', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + 'firstname' => __('Firstname', 'modularity-form-builder'), + 'lastname' => __('Lastname', 'modularity-form-builder'), + 'email' => __('Email', 'modularity-form-builder'), + 'phone' => __('Phone', 'modularity-form-builder'), + 'address' => __('Address', 'modularity-form-builder'), + ), + 'allow_custom' => 0, + 'save_custom' => 0, + 'default_value' => array( + 0 => __('firstname', 'modularity-form-builder'), + 1 => __('lastname', 'modularity-form-builder'), + 2 => __('email', 'modularity-form-builder'), + ), + 'layout' => 'vertical', + 'toggle' => 0, + 'return_format' => 'value', + ), + 2 => array( + 'key' => 'field_5a0abd4a4342a', + 'label' => __('Custom labels', 'modularity-form-builder'), + 'name' => 'custom_sender_labels', + 'type' => 'group', + 'instructions' => __('Check this box to add custom labels for sender input fields. Leave empty to use default labels', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'layout' => 'row', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_5a0ac34055126', + 'label' => __('Add labels', 'modularity-form-builder'), + 'name' => 'add_sender_labels', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => '', + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 1 => array( + 'key' => 'field_5a0abd5f4342b', + 'label' => __('Firstname', 'modularity-form-builder'), + 'name' => 'firstname', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a0ac34055126', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 2 => array( + 'key' => 'field_5a0abd804342c', + 'label' => __('Lastname', 'modularity-form-builder'), + 'name' => 'lastname', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a0ac34055126', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 3 => array( + 'key' => 'field_5a0abe977e028', + 'label' => __('Email', 'modularity-form-builder'), + 'name' => 'email', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a0ac34055126', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 4 => array( + 'key' => 'field_5a0ac1fda1240', + 'label' => __('Phone', 'modularity-form-builder'), + 'name' => 'phone', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a0ac34055126', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 5 => array( + 'key' => 'field_5a0ac216a1241', + 'label' => __('Street address', 'modularity-form-builder'), + 'name' => 'street_address', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a0ac34055126', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 6 => array( + 'key' => 'field_5a0ac228a1242', + 'label' => __('Postal code', 'modularity-form-builder'), + 'name' => 'postal_code', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a0ac34055126', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 7 => array( + 'key' => 'field_5a0ac236a1243', + 'label' => __('City', 'modularity-form-builder'), + 'name' => 'city', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a0ac34055126', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + ), + ), + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + '58eb3f2cd914a' => array( + 'key' => '58eb3f2cd914a', + 'name' => 'message', + 'label' => __('Meddelande', 'modularity-form-builder'), + 'display' => 'block', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb3f37d914b', + 'label' => __('Field label', 'modularity-form-builder'), + 'name' => 'label', + 'type' => 'text', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => __('Message', 'modularity-form-builder'), + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 1 => array( + 'key' => 'field_597b20d5392bc', + 'label' => __('Field description', 'modularity-form-builder'), + 'name' => 'description', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 2 => array( + 'key' => 'field_58eb3f5ed914c', + 'label' => __('Required', 'modularity-form-builder'), + 'name' => 'required', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => 0, + 'message' => __('Required field', 'modularity-form-builder'), + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 3 => array( + 'key' => 'field_59b69b14e2abf', + 'label' => __('Conditional logic', 'modularity-form-builder'), + 'name' => 'conditional_logic', + 'type' => 'true_false', + 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Add conditional logic', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 4 => array( + 'key' => 'field_59b69b16e2ac0', + 'label' => __('Conditonal field', 'modularity-form-builder'), + 'name' => 'conditonal_field', + 'type' => 'select', + 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59b69b14e2abf', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + 5 => array( + 'key' => 'field_5a1be0449d8b8', + 'label' => __('Custom post type content', 'modularity-form-builder'), + 'name' => 'custom_post_type_content', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a1837b50079f', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Use this field as post content. Default is empty content field.', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + '58eb552a8189e' => array( + 'key' => '58eb552a8189e', + 'name' => 'input', + 'label' => __('Inmatning', 'modularity-form-builder'), + 'display' => 'block', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb55338189f', + 'label' => __('Field label', 'modularity-form-builder'), + 'name' => 'label', + 'type' => 'text', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 1 => array( + 'key' => 'field_597b2100392bd', + 'label' => __('Field description', 'modularity-form-builder'), + 'name' => 'description', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 2 => array( + 'key' => 'field_58eb5547818a0', + 'label' => __('Field value type', 'modularity-form-builder'), + 'name' => 'value_type', + 'type' => 'select', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + 'text' => __('Text', 'modularity-form-builder'), + 'number' => __('Number', 'modularity-form-builder'), + 'email' => __('Email', 'modularity-form-builder'), + 'tel' => __('Phone number', 'modularity-form-builder'), + 'color' => __('Color', 'modularity-form-builder'), + 'date' => __('Date', 'modularity-form-builder'), + 'month' => __('Month', 'modularity-form-builder'), + 'week' => __('Week', 'modularity-form-builder'), + 'range' => __('Range', 'modularity-form-builder'), + 'search' => __('Search', 'modularity-form-builder'), + 'time' => __('Time', 'modularity-form-builder'), + 'url' => __('Url', 'modularity-form-builder'), + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + 3 => array( + 'key' => 'field_58eb572440304', + 'label' => __('Min value', 'modularity-form-builder'), + 'name' => 'min_value', + 'type' => 'number', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'number', + ), + ), + 1 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'range', + ), + ), + ), + 'wrapper' => array( + 'width' => '33.3333', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'min' => '', + 'max' => '', + 'step' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 4 => array( + 'key' => 'field_58eb574140305', + 'label' => __('Max value', 'modularity-form-builder'), + 'name' => 'max_value', + 'type' => 'number', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'number', + ), + ), + 1 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'range', + ), + ), + ), + 'wrapper' => array( + 'width' => '33.3333', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'min' => '', + 'max' => '', + 'step' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 5 => array( + 'key' => 'field_58eb57a645640', + 'label' => __('Step', 'modularity-form-builder'), + 'name' => 'step', + 'type' => 'number', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'number', + ), + ), + 1 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'range', + ), + ), + ), + 'wrapper' => array( + 'width' => '33.3333', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'min' => '', + 'max' => '', + 'step' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 6 => array( + 'key' => 'field_58eb62d1ec890', + 'label' => __('Min date', 'modularity-form-builder'), + 'name' => 'min_value', + 'type' => 'date_picker', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'date', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'display_format' => 'Y-m-d', + 'return_format' => 'Y-m-d', + 'first_day' => 1, + ), + 7 => array( + 'key' => 'field_58eb62feec891', + 'label' => __('Max date', 'modularity-form-builder'), + 'name' => 'max_value', + 'type' => 'date_picker', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'date', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'display_format' => 'Y-m-d', + 'return_format' => 'Y-m-d', + 'first_day' => 1, + ), + 8 => array( + 'key' => 'field_5dfb9b0074cfc', + 'label' => __('Min time', 'modularity-form-builder'), + 'name' => 'min_time_value', + 'type' => 'time_picker', + 'instructions' => __('Select minimum time frame', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'time', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'display_format' => 'H:i:s', + 'return_format' => 'H:i:s', + ), + 9 => array( + 'key' => 'field_5dfbf8a374cfe', + 'label' => __('Max time', 'modularity-form-builder'), + 'name' => 'max_time_value', + 'type' => 'time_picker', + 'instructions' => __('Select maximum time frame', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58eb5547818a0', + 'operator' => '==', + 'value' => 'time', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'display_format' => 'H:i:s', + 'return_format' => 'H:i:s', + ), + 10 => array( + 'key' => 'field_58eb5614c5514', + 'label' => __('Required', 'modularity-form-builder'), + 'name' => 'required', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => 0, + 'message' => __('Required', 'modularity-form-builder'), + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 11 => array( + 'key' => 'field_59b69ae3e2abd', + 'label' => __('Conditional logic', 'modularity-form-builder'), + 'name' => 'conditional_logic', + 'type' => 'true_false', + 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Add conditional logic', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 12 => array( + 'key' => 'field_59b69ae6e2abe', + 'label' => __('Conditonal field', 'modularity-form-builder'), + 'name' => 'conditonal_field', + 'type' => 'select', + 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59b69ae3e2abd', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + 13 => array( + 'key' => 'field_5a18388b007a2', + 'label' => __('Custom post type title', 'modularity-form-builder'), + 'name' => 'custom_post_type_title', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a1837b50079f', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Use this field as post title. Default title is the forms name.', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + '58eb670839fee' => array( + 'key' => '58eb670839fee', + 'name' => 'radio', + 'label' => __('Radiofält', 'modularity-form-builder'), + 'display' => 'block', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb675039ff1', + 'label' => __('Field label', 'modularity-form-builder'), + 'name' => 'label', + 'type' => 'text', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 1 => array( + 'key' => 'field_597b2112392be', + 'label' => __('Field description', 'modularity-form-builder'), + 'name' => 'description', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 2 => array( + 'key' => 'field_58eb670d39fef', + 'label' => __('Field values', 'modularity-form-builder'), + 'name' => 'values', + 'type' => 'repeater', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'collapsed' => '', + 'min' => 2, + 'max' => 0, + 'layout' => 'table', + 'button_label' => __('Lägg till rad', 'modularity-form-builder'), + 'rows_per_page' => 20, + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb672c39ff0', + 'label' => __('Value', 'modularity-form-builder'), + 'name' => 'value', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'parent_repeater' => 'field_58eb670d39fef', + ), + ), + ), + 3 => array( + 'key' => 'field_58eb699755795', + 'label' => __('Required', 'modularity-form-builder'), + 'name' => 'required', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => 0, + 'message' => __('Required', 'modularity-form-builder'), + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 4 => array( + 'key' => 'field_59b69ac9e2abb', + 'label' => __('Conditional logic', 'modularity-form-builder'), + 'name' => 'conditional_logic', + 'type' => 'true_false', + 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Add conditional logic', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 5 => array( + 'key' => 'field_59b69acbe2abc', + 'label' => __('Conditonal field', 'modularity-form-builder'), + 'name' => 'conditonal_field', + 'type' => 'select', + 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59b69ac9e2abb', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + '58eb6b023b076' => array( + 'key' => '58eb6b023b076', + 'name' => 'checkbox', + 'label' => __('Kryssruta', 'modularity-form-builder'), + 'display' => 'block', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb6b023b077', + 'label' => __('Field label', 'modularity-form-builder'), + 'name' => 'label', + 'type' => 'text', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 1 => array( + 'key' => 'field_597b211f392bf', + 'label' => __('Field description', 'modularity-form-builder'), + 'name' => 'description', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 2 => array( + 'key' => 'field_58eb6b023b078', + 'label' => __('Field values', 'modularity-form-builder'), + 'name' => 'values', + 'type' => 'repeater', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'min' => 1, + 'max' => 0, + 'layout' => 'table', + 'button_label' => __('Lägg till rad', 'modularity-form-builder'), + 'collapsed' => '', + 'rows_per_page' => 20, + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb6b023b079', + 'label' => __('Value', 'modularity-form-builder'), + 'name' => 'value', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'parent_repeater' => 'field_58eb6b023b078', + ), + ), + ), + 3 => array( + 'key' => 'field_58eb6b023b07a', + 'label' => __('Required', 'modularity-form-builder'), + 'name' => 'required', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => 0, + 'message' => __('Required', 'modularity-form-builder'), + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 4 => array( + 'key' => 'field_59b69ab2e2ab9', + 'label' => __('Conditional logic', 'modularity-form-builder'), + 'name' => 'conditional_logic', + 'type' => 'true_false', + 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Add conditional logic', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 5 => array( + 'key' => 'field_59b69ab5e2aba', + 'label' => __('Conditonal field', 'modularity-form-builder'), + 'name' => 'conditonal_field', + 'type' => 'select', + 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59b69ab2e2ab9', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + '58eb6bd234c19' => array( + 'key' => '58eb6bd234c19', + 'name' => 'select', + 'label' => __('Välj', 'modularity-form-builder'), + 'display' => 'block', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb6bd334c1a', + 'label' => __('Field label', 'modularity-form-builder'), + 'name' => 'label', + 'type' => 'text', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 1 => array( + 'key' => 'field_597b2132392c0', + 'label' => __('Field description', 'modularity-form-builder'), + 'name' => 'description', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 2 => array( + 'key' => 'field_58eb6bd334c1b', + 'label' => __('Field values', 'modularity-form-builder'), + 'name' => 'values', + 'type' => 'repeater', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'min' => 1, + 'max' => 0, + 'layout' => 'table', + 'button_label' => __('Lägg till rad', 'modularity-form-builder'), + 'collapsed' => '', + 'rows_per_page' => 20, + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb6bd334c1c', + 'label' => __('Value', 'modularity-form-builder'), + 'name' => 'value', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'parent_repeater' => 'field_58eb6bd334c1b', + ), + ), + ), + 3 => array( + 'key' => 'field_58eb6bd334c1d', + 'label' => __('Required', 'modularity-form-builder'), + 'name' => 'required', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => 0, + 'message' => __('Required', 'modularity-form-builder'), + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 4 => array( + 'key' => 'field_59b69a93e2ab7', + 'label' => __('Conditional logic', 'modularity-form-builder'), + 'name' => 'conditional_logic', + 'type' => 'true_false', + 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Add conditional logic', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 5 => array( + 'key' => 'field_59b69a96e2ab8', + 'label' => __('Conditonal field', 'modularity-form-builder'), + 'name' => 'conditonal_field', + 'type' => 'select', + 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59b69a93e2ab7', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + '58eccdd75ad90' => array( + 'key' => '58eccdd75ad90', + 'name' => 'file_upload', + 'label' => __('Filuppladdning', 'modularity-form-builder'), + 'display' => 'block', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58ecce8a5ad93', + 'label' => __('Field label', 'modularity-form-builder'), + 'name' => 'label', + 'type' => 'text', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 1 => array( + 'key' => 'field_638e0eadbf005', + 'label' => __('Button label', 'modularity-form-builder'), + 'name' => 'button_label', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 2 => array( + 'key' => 'field_597b213f392c1', + 'label' => __('Field description', 'modularity-form-builder'), + 'name' => 'description', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 3 => array( + 'key' => 'field_58eccde65ad91', + 'label' => __('Type', 'modularity-form-builder'), + 'name' => 'type', + 'type' => 'radio', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + 'single' => __('Single', 'modularity-form-builder'), + 'multiple' => __('Multiple', 'modularity-form-builder'), + ), + 'allow_null' => 0, + 'other_choice' => 0, + 'save_other_choice' => 0, + 'default_value' => '', + 'layout' => 'horizontal', + 'return_format' => 'value', + ), + 4 => array( + 'key' => 'field_58ece6685df9c', + 'label' => __('Max number of files', 'modularity-form-builder'), + 'name' => 'files_max', + 'type' => 'number', + 'instructions' => __('-1 for no limit', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58eccde65ad91', + 'operator' => '==', + 'value' => 'multiple', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => -1, + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'min' => '', + 'max' => '', + 'step' => '', + ), + 5 => array( + 'key' => 'field_58ecce105ad92', + 'label' => __('Allowed filetypes', 'modularity-form-builder'), + 'name' => 'filetypes', + 'type' => 'checkbox', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + 'video/*' => __('All video types', 'modularity-form-builder'), + 'image/*' => __('All image types', 'modularity-form-builder'), + '.jpg' => __('jpg', 'modularity-form-builder'), + '.png' => __('png', 'modularity-form-builder'), + '.gif' => __('gif', 'modularity-form-builder'), + '.mov' => __('mov', 'modularity-form-builder'), + '.webm' => __('webm', 'modularity-form-builder'), + '.mp4' => __('mp4', 'modularity-form-builder'), + '.mp3' => __('mp3', 'modularity-form-builder'), + '.ogg' => __('ogg', 'modularity-form-builder'), + '.aac' => __('aac', 'modularity-form-builder'), + '.doc' => __('doc', 'modularity-form-builder'), + '.docx' => __('docx', 'modularity-form-builder'), + '.xls' => __('xls', 'modularity-form-builder'), + '.xlsx' => __('xlsx', 'modularity-form-builder'), + '.pdf' => __('pdf', 'modularity-form-builder'), + ), + 'allow_custom' => 0, + 'save_custom' => 0, + 'default_value' => array( + ), + 'layout' => 'vertical', + 'toggle' => 0, + 'return_format' => 'value', + ), + 6 => array( + 'key' => 'field_5a0c48839fa5d', + 'label' => __('Upload videos to external service', 'modularity-form-builder'), + 'name' => 'upload_videos_external', + 'type' => 'true_false', + 'instructions' => __('Check this box to upload upload videos to an external service instead of locally.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58ecce105ad92', + 'operator' => '==', + 'value' => 'video/*', + ), + ), + 1 => array( + 0 => array( + 'field' => 'field_58ecce105ad92', + 'operator' => '==', + 'value' => '.mov', + ), + ), + 2 => array( + 0 => array( + 'field' => 'field_58ecce105ad92', + 'operator' => '==', + 'value' => '.webm', + ), + ), + 3 => array( + 0 => array( + 'field' => 'field_58ecce105ad92', + 'operator' => '==', + 'value' => '.mp4', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Upload external', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 7 => array( + 'key' => 'field_58ecd86751bf6', + 'label' => __('Required', 'modularity-form-builder'), + 'name' => 'required', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Required', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 8 => array( + 'key' => 'field_59b69a7ae2ab5', + 'label' => __('Conditional logic', 'modularity-form-builder'), + 'name' => 'conditional_logic', + 'type' => 'true_false', + 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Add conditional logic', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 9 => array( + 'key' => 'field_59b69a7de2ab6', + 'label' => __('Conditonal field', 'modularity-form-builder'), + 'name' => 'conditonal_field', + 'type' => 'select', + 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59b69a7ae2ab5', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + '59b13312b61ac' => array( + 'key' => '59b13312b61ac', + 'name' => 'custom_content', + 'label' => __('Eget innehåll', 'modularity-form-builder'), + 'display' => 'block', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_59b13312b61ad', + 'label' => __('Content', 'modularity-form-builder'), + 'name' => 'content', + 'type' => 'wysiwyg', + 'instructions' => __('Add custom content to the form. This will not be sent in e-mail messages.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'tabs' => 'all', + 'toolbar' => 'full', + 'media_upload' => 1, + 'delay' => 0, + ), + 1 => array( + 'key' => 'field_59b134beb61b0', + 'label' => __('Conditional logic', 'modularity-form-builder'), + 'name' => 'conditional_logic', + 'type' => 'true_false', + 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Add conditional logic', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 2 => array( + 'key' => 'field_59b635765e86b', + 'label' => __('Conditonal field', 'modularity-form-builder'), + 'name' => 'conditonal_field', + 'type' => 'select', + 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59b134beb61b0', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + '5a266baf943ab' => array( + 'key' => '5a266baf943ab', + 'name' => 'collapse', + 'label' => __('Fäll ihop', 'modularity-form-builder'), + 'display' => 'block', + 'sub_fields' => array( + 0 => array( + 'key' => 'field_5a26ac03821d9', + 'label' => __('Collapse', 'modularity-form-builder'), + 'name' => '', + 'type' => 'message', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Adds a collapse button that toggles all fields below. This is a layout field and will not be sent in e-mail messages.', 'modularity-form-builder'), + 'new_lines' => 'wpautop', + 'esc_html' => 0, + ), + 1 => array( + 'key' => 'field_5a266bb8943af', + 'label' => __('Button text', 'modularity-form-builder'), + 'name' => 'button_text', + 'type' => 'text', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 2 => array( + 'key' => 'field_5a266baf943ad', + 'label' => __('Conditional logic', 'modularity-form-builder'), + 'name' => 'conditional_logic', + 'type' => 'true_false', + 'instructions' => __('Use conditional logic statement to display the field depending on other choices in the form. Works only with "Radio" form field type.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Add conditional logic', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 3 => array( + 'key' => 'field_5a266baf943ae', + 'label' => __('Conditonal field', 'modularity-form-builder'), + 'name' => 'conditonal_field', + 'type' => 'select', + 'instructions' => __('Display field if this value is selected.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a266baf943ad', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + '5a268f41821d8' => array( + 'key' => '5a268f41821d8', + 'name' => '', + 'label' => '', + 'display' => 'block', + 'sub_fields' => array( + ), + 'min' => '', + 'max' => '', + 'acfe_flexible_render_template' => false, + 'acfe_flexible_render_style' => false, + 'acfe_flexible_render_script' => false, + 'acfe_flexible_thumbnail' => false, + 'acfe_flexible_settings' => false, + 'acfe_flexible_settings_size' => 'medium', + 'acfe_flexible_modal_edit_size' => false, + 'acfe_flexible_category' => false, + ), + ), + 'button_label' => __('Formulärsfält', 'modularity-form-builder'), + 'min' => 1, + 'max' => '', + 'acfe_flexible_advanced' => false, + 'acfe_flexible_stylised_button' => false, + 'acfe_flexible_hide_empty_message' => false, + 'acfe_flexible_empty_message' => '', + 'acfe_flexible_layouts_templates' => false, + 'acfe_flexible_layouts_previews' => false, + 'acfe_flexible_layouts_placeholder' => false, + 'acfe_flexible_layouts_thumbnails' => false, + 'acfe_flexible_layouts_settings' => false, + 'acfe_flexible_async' => array( + ), + 'acfe_flexible_add_actions' => array( + ), + 'acfe_flexible_remove_button' => array( + ), + 'acfe_flexible_layouts_state' => false, + 'acfe_flexible_modal_edit' => array( + 'acfe_flexible_modal_edit_enabled' => false, + 'acfe_flexible_modal_edit_size' => 'large', + ), + 'acfe_flexible_modal' => array( + 'acfe_flexible_modal_enabled' => false, + 'acfe_flexible_modal_title' => false, + 'acfe_flexible_modal_size' => 'full', + 'acfe_flexible_modal_col' => '4', + 'acfe_flexible_modal_categories' => false, + ), + ), + 2 => array( + 'key' => 'field_58f5c12da612a', + 'label' => __('Formulärsvar', 'modularity-form-builder'), + 'name' => '', + 'type' => 'tab', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'placement' => 'top', + 'endpoint' => 0, + ), + 3 => array( + 'key' => 'field_58eb3700191e7', + 'label' => __('Text på skicka-knapp', 'modularity-form-builder'), + 'name' => 'submit_button_text', + 'type' => 'text', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => __('Skicka', 'modularity-form-builder'), + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 4 => array( + 'key' => 'field_58eb7b11cc4f5', + 'label' => __('Meddelande vid inskickning', 'modularity-form-builder'), + 'name' => 'subimission_notice', + 'type' => 'wysiwyg', + 'instructions' => __('Text som visas när ett formulär skickats.', 'modularity-form-builder'), + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'tabs' => 'all', + 'toolbar' => 'full', + 'media_upload' => 1, + 'delay' => 0, + ), + 5 => array( + 'key' => 'field_58f5c029ee90a', + 'label' => __('Notiser', 'modularity-form-builder'), + 'name' => '', + 'type' => 'tab', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'placement' => 'top', + 'endpoint' => 0, + ), + 6 => array( + 'key' => 'field_59a4259acfea0', + 'label' => __('Notifikation när formulär skickas', 'modularity-form-builder'), + 'name' => '', + 'type' => 'message', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => '', + 'new_lines' => 'wpautop', + 'esc_html' => 0, + ), + 7 => array( + 'key' => 'field_58eb6ee89aa7c', + 'label' => __('Notifiera e-postadresser', 'modularity-form-builder'), + 'name' => 'notify', + 'type' => 'repeater', + 'instructions' => __('Ett mail skickas ut till nedanstående användare med innehållet i svaret.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'collapsed' => '', + 'min' => 0, + 'max' => 0, + 'layout' => 'block', + 'button_label' => __('Lägg till e-postadress', 'modularity-form-builder'), + 'rows_per_page' => 20, + 'sub_fields' => array( + 0 => array( + 'key' => 'field_58eb6f389aa7d', + 'label' => __('E-postadress', 'modularity-form-builder'), + 'name' => 'email', + 'type' => 'email', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '70', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'parent_repeater' => 'field_58eb6ee89aa7c', + ), + 1 => array( + 'key' => 'field_5a55d5e27740d', + 'label' => __('Lägg till villkor', 'modularity-form-builder'), + 'name' => 'condition', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '30', + 'class' => '', + 'id' => '', + ), + 'message' => '', + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + 'parent_repeater' => 'field_58eb6ee89aa7c', + ), + 2 => array( + 'key' => 'field_5a55de5ebfa4d', + 'label' => __('Krav', 'modularity-form-builder'), + 'name' => '', + 'type' => 'message', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a55d5e27740d', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('
Conditional fields must be a multi-choise field that is required to fill in and lacks conditional arguments. Note that you may not get email notfications if the requirements aren\'t fulfilled.
', 'modularity-form-builder'), + 'new_lines' => '', + 'esc_html' => 0, + 'parent_repeater' => 'field_58eb6ee89aa7c', + ), + 3 => array( + 'key' => 'field_5a55d69512773', + 'label' => __('Skicka bara när', 'modularity-form-builder'), + 'name' => 'form_conditional_field', + 'type' => 'select', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a55d5e27740d', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + 'parent_repeater' => 'field_58eb6ee89aa7c', + ), + 4 => array( + 'key' => 'field_5a55db0812774', + 'label' => __('Matchar', 'modularity-form-builder'), + 'name' => 'form_conditional_field_equals', + 'type' => 'select', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a55d5e27740d', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + ), + 'default_value' => false, + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + 'parent_repeater' => 'field_58eb6ee89aa7c', + ), + ), + ), + 8 => array( + 'key' => 'field_59720c161a3a1', + 'label' => __('Egen ämnesrad', 'modularity-form-builder'), + 'name' => 'notification_custom_subject', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Kryssa i rutan för att ange egen ämnesrad.', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 9 => array( + 'key' => 'field_5972079df9f04', + 'label' => __('Ämnesrad', 'modularity-form-builder'), + 'name' => 'notification_subject', + 'type' => 'text', + 'instructions' => __('Ange egen ämnesrad. Standardvärde är “Nytt formulärsvar”.', 'modularity-form-builder'), + 'required' => 1, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59720c161a3a1', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 10 => array( + 'key' => 'field_58f5d00332436', + 'label' => __('Meddelande i notis', 'modularity-form-builder'), + 'name' => 'notification_message', + 'type' => 'wysiwyg', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'tabs' => 'all', + 'toolbar' => 'full', + 'media_upload' => 1, + 'default_value' => '', + 'delay' => 0, + ), + 11 => array( + 'key' => 'field_58f5b1a066797', + 'label' => __('Notisdata', 'modularity-form-builder'), + 'name' => 'submission_notice_data', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'default_value' => 1, + 'message' => __('Visa svarsdata i notisens innehåll', 'modularity-form-builder'), + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 12 => array( + 'key' => 'field_58f5c0bbee90c', + 'label' => __('Svarskopia', 'modularity-form-builder'), + 'name' => '', + 'type' => 'tab', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'placement' => 'top', + 'endpoint' => 0, + ), + 13 => array( + 'key' => 'field_58f5b1c266798', + 'label' => __('Tillåt svarskopia', 'modularity-form-builder'), + 'name' => 'allow_sender_copy', + 'type' => 'true_false', + 'instructions' => __('Skicka en kopia av svaret till avsändarens e-postadress.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'default_value' => 0, + 'message' => __('Ja, tillåt användare att få en svarskopia', 'modularity-form-builder'), + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 14 => array( + 'key' => 'field_59a561ed8a256', + 'label' => __('Egen ämnesrad för svarskopia', 'modularity-form-builder'), + 'name' => 'copy_custom_subject', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58f5b1c266798', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Kryssa i rutan för att ange egen ämnesrad.', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 15 => array( + 'key' => 'field_59a562508a257', + 'label' => __('Ämnesrad', 'modularity-form-builder'), + 'name' => 'copy_subject', + 'type' => 'text', + 'instructions' => __('Ange egen ämnesrad. Standardvärde är “Svarskopia”.', 'modularity-form-builder'), + 'required' => 1, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59a561ed8a256', + 'operator' => '==', + 'value' => '1', + ), + 1 => array( + 'field' => 'field_58f5b1c266798', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), + 16 => array( + 'key' => 'field_58f5d09142d94', + 'label' => __('Meddelande i svarskopia', 'modularity-form-builder'), + 'name' => 'sender_copy_message', + 'type' => 'wysiwyg', + 'instructions' => __('Meddelandet kommer att skickas tillsammans med svarsdatan.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58f5b1c266798', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'tabs' => 'all', + 'toolbar' => 'full', + 'media_upload' => 1, + 'default_value' => '', + 'delay' => 0, + ), + 17 => array( + 'key' => 'field_58f5c0abee90b', + 'label' => __('Autosvar', 'modularity-form-builder'), + 'name' => '', + 'type' => 'tab', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'placement' => 'top', + 'endpoint' => 0, + ), + 18 => array( + 'key' => 'field_58f5be7475dbf', + 'label' => __('Autosvar', 'modularity-form-builder'), + 'name' => 'autoreply', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => 0, + 'message' => __('Skicka autosvar när formuläret har skickats', 'modularity-form-builder'), + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 19 => array( + 'key' => 'field_58f5bf7329b3f', + 'label' => __('Ämne för autosvar', 'modularity-form-builder'), + 'name' => 'auto_reply_subject', + 'type' => 'text', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58f5be7475dbf', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'maxlength' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + ), + 20 => array( + 'key' => 'field_58f5bea775dc0', + 'label' => __('Meddelande för autosvar', 'modularity-form-builder'), + 'name' => 'auto_reply_content', + 'type' => 'wysiwyg', + 'instructions' => '', + 'required' => 1, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_58f5be7475dbf', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'tabs' => 'all', + 'toolbar' => 'full', + 'media_upload' => 1, + 'default_value' => '', + 'delay' => 0, + ), + 21 => array( + 'key' => 'field_5a12ad75f9444', + 'label' => __('Avancerade inställningar', 'modularity-form-builder'), + 'name' => '', + 'type' => 'tab', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'placement' => 'top', + 'endpoint' => 0, + ), + 22 => array( + 'key' => 'field_5a1837b50079f', + 'label' => __('Spara till posttyp', 'modularity-form-builder'), + 'name' => 'custom_submission_post_type', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'message' => __('Spara formulärsvar till en anpassad posttyp.', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 23 => array( + 'key' => 'field_5a059dcc4c2a0', + 'label' => __('Posttyp', 'modularity-form-builder'), + 'name' => 'submission_post_type', + 'type' => 'select', + 'instructions' => __('Välj posttyp', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5a1837b50079f', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'choices' => array( + 'form-submissions' => __('Formulärsvar', 'modularity-form-builder'), + 'event' => __('Händelse', 'modularity-form-builder'), + 'ticket' => __('Ärende', 'modularity-form-builder'), + 'listing' => __('Lista', 'modularity-form-builder'), + 'lovprogram' => __('Lovprogram', 'modularity-form-builder'), + 'johan-test123' => __('Johan-test123', 'modularity-form-builder'), + 'projekt' => __('Projekt', 'modularity-form-builder'), + 'idea' => __('Ideas', 'modularity-form-builder'), + ), + 'default_value' => __('form-submissions', 'modularity-form-builder'), + 'allow_null' => 0, + 'multiple' => 0, + 'ui' => 0, + 'ajax' => 0, + 'return_format' => 'value', + 'placeholder' => '', + ), + 24 => array( + 'key' => 'field_5a12ae16f9445', + 'label' => __('Redigerbar för användaren', 'modularity-form-builder'), + 'name' => 'editable_front_end', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'message' => '', + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 25 => array( + 'key' => 'field_5a12afecf9446', + 'label' => __('Redigerbar för redaktör', 'modularity-form-builder'), + 'name' => 'editable_back_end', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'message' => '', + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 26 => array( + 'key' => 'field_5b51a469880c0', + 'label' => __('GDPR & Confidentiality', 'modularity-form-builder'), + 'name' => '', + 'type' => 'tab', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'placement' => 'top', + 'endpoint' => 0, + ), + 27 => array( + 'key' => 'field_59df53ac189b8', + 'label' => __('Notis om allmän handling', 'modularity-form-builder'), + 'name' => 'submission_public_act', + 'type' => 'true_false', + 'instructions' => __('Lägger till ett meddelande som informerar användaren om att formulärsvaret blir en allmän handling.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Lägg till notis om allmän handling', 'modularity-form-builder'), + 'default_value' => 1, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 28 => array( + 'key' => 'field_5b51c75ca46d1', + 'label' => __('Public act content', 'modularity-form-builder'), + 'name' => 'submission_public_act_content', + 'type' => 'textarea', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_59df53ac189b8', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => '', + 'placeholder' => '', + 'maxlength' => '', + 'rows' => '', + 'new_lines' => '', + ), + 29 => array( + 'key' => 'field_5b3c8d3f4e20a', + 'label' => __('GDPR överensstämmelsemeddelande', 'modularity-form-builder'), + 'name' => 'gdpr_complience_notice', + 'type' => 'true_false', + 'instructions' => __('Innehåller information om hur personlig data hanteras.', 'modularity-form-builder'), + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'message' => __('Visa ett meddelande (och en checkbox) som är nödvändig för att posta formuläret.', 'modularity-form-builder'), + 'default_value' => 1, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 30 => array( + 'key' => 'field_5b3c8e0a6e7f2', + 'label' => __('Innehåll för GDPR meddelande', 'modularity-form-builder'), + 'name' => 'gdpr_complience_notice_content', + 'type' => 'wysiwyg', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5b3c8d3f4e20a', + 'operator' => '==', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '', + 'class' => '', + 'id' => '', + ), + 'default_value' => __('I det här formuläret samlar vi in personuppgifter om dig för att [det formuläret ska användas till]. Uppgifterna kommer inte att hanteras för något annat syfte, och kommer att raderas när [ärendet är avslutat]. Läs om hur Helsingborgs stad hanterar personuppgifter.', 'modularity-form-builder'), + 'tabs' => 'all', + 'toolbar' => 'full', + 'media_upload' => 0, + 'delay' => 0, + ), + 31 => array( + 'key' => 'field_5b2a3840ff029', + 'label' => __('Databaslagring', 'modularity-form-builder'), + 'name' => 'db_storage', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => 0, + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'message' => __('Lagra inte postad data i databasen.', 'modularity-form-builder'), + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 32 => array( + 'key' => 'field_5b3384dbf9cac', + 'label' => __('Användarbegränsning', 'modularity-form-builder'), + 'name' => 'user_restriction', + 'type' => 'true_false', + 'instructions' => '', + 'required' => 0, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5b2a3840ff029', + 'operator' => '!=', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'message' => '', + 'default_value' => 0, + 'ui' => 0, + 'ui_on_text' => '', + 'ui_off_text' => '', + ), + 33 => array( + 'key' => 'field_5b338525f9cad', + 'label' => __('Betrodda användare', 'modularity-form-builder'), + 'name' => 'granted_users', + 'type' => 'user', + 'instructions' => __('Lägg till betrodda användare som har access till det som postas från formulären', 'modularity-form-builder'), + 'required' => 1, + 'conditional_logic' => array( + 0 => array( + 0 => array( + 'field' => 'field_5b3384dbf9cac', + 'operator' => '==', + 'value' => '1', + ), + 1 => array( + 'field' => 'field_5b2a3840ff029', + 'operator' => '!=', + 'value' => '1', + ), + ), + ), + 'wrapper' => array( + 'width' => '50', + 'class' => '', + 'id' => '', + ), + 'role' => '', + 'allow_null' => 0, + 'multiple' => 1, + 'return_format' => 'array', + ), + ), + 'location' => array( + 0 => array( + 0 => array( + 'param' => 'post_type', + 'operator' => '==', + 'value' => 'mod-form', + ), + ), + 1 => array( + 0 => array( + 'param' => 'block', + 'operator' => '==', + 'value' => 'acf/form', + ), + ), + ), + 'menu_order' => 0, + 'position' => 'normal', + 'style' => 'default', + 'label_placement' => 'top', + 'instruction_placement' => 'label', + 'hide_on_screen' => '', + 'active' => true, + 'description' => '', + 'show_in_rest' => 0, + 'acfe_display_title' => '', + 'acfe_autosync' => '', + 'acfe_form' => 0, + 'acfe_meta' => '', + 'acfe_note' => '', +)); } \ No newline at end of file