add new fields to customer acceptance form

This commit is contained in:
GotPPay
2018-08-14 18:21:38 +02:00
parent 0c15e719fc
commit a03832df51
5 changed files with 606 additions and 460 deletions

View File

@@ -22,7 +22,7 @@
"inputs": null,
"choices": [
],
"formId": 10,
"formId": 1,
"description": "",
"allowsPrepopulate": true,
"inputMask": false,
@@ -63,7 +63,7 @@
"inputs": null,
"dateType": "datepicker",
"calendarIconType": "none",
"formId": 10,
"formId": 1,
"description": "",
"allowsPrepopulate": false,
"inputMask": false,
@@ -93,17 +93,156 @@
"displayOnly": ""
},
{
"type": "fileupload",
"id": 7,
"label": "Acceptance document",
"type": "radio",
"id": 8,
"label": "acceptance",
"adminLabel": "",
"isRequired": false,
"size": "medium",
"errorMessage": "",
"visibility": "visible",
"inputs": null,
"formId": 10,
"description": "Upload your acceptance document",
"choices": [
{
"text": "not-accepted",
"value": "not-accepted",
"isSelected": true,
"price": ""
},
{
"text": "accept",
"value": "accept",
"isSelected": false,
"price": ""
},
{
"text": "decline",
"value": "decline",
"isSelected": false,
"price": ""
}
],
"formId": 1,
"description": "",
"allowsPrepopulate": false,
"inputMask": false,
"inputMaskValue": "",
"inputType": "",
"labelPlacement": "",
"descriptionPlacement": "",
"subLabelPlacement": "",
"placeholder": "",
"cssClass": "",
"inputName": "",
"noDuplicates": false,
"defaultValue": "",
"conditionalLogic": "",
"productField": "",
"enableOtherChoice": "",
"enablePrice": "",
"multipleFiles": false,
"maxFiles": "",
"calculationFormula": "",
"calculationRounding": "",
"enableCalculation": "",
"disableQuantity": false,
"displayAllCategories": false,
"useRichTextEditor": false,
"displayOnly": ""
},
{
"type": "date",
"id": 9,
"label": "Expiration date",
"adminLabel": "",
"isRequired": false,
"size": "medium",
"errorMessage": "",
"visibility": "visible",
"inputs": null,
"dateType": "datepicker",
"calendarIconType": "none",
"formId": 1,
"description": "",
"allowsPrepopulate": false,
"inputMask": false,
"inputMaskValue": "",
"inputType": "",
"labelPlacement": "",
"descriptionPlacement": "",
"subLabelPlacement": "",
"placeholder": "",
"cssClass": "",
"inputName": "",
"noDuplicates": false,
"defaultValue": "",
"choices": "",
"conditionalLogic": "",
"calendarIconUrl": "",
"dateFormat": "ymd_dash",
"productField": "",
"multipleFiles": false,
"maxFiles": "",
"calculationFormula": "",
"calculationRounding": "",
"enableCalculation": "",
"disableQuantity": false,
"displayAllCategories": false,
"useRichTextEditor": false,
"displayOnly": ""
},
{
"type": "text",
"id": 10,
"label": "Reason",
"adminLabel": "",
"isRequired": false,
"size": "medium",
"errorMessage": "",
"visibility": "visible",
"inputs": null,
"formId": 1,
"description": "",
"allowsPrepopulate": false,
"inputMask": false,
"inputMaskValue": "",
"inputType": "",
"labelPlacement": "",
"descriptionPlacement": "",
"subLabelPlacement": "",
"placeholder": "",
"cssClass": "",
"inputName": "",
"noDuplicates": false,
"defaultValue": "",
"choices": "",
"conditionalLogic": "",
"productField": "",
"enablePasswordInput": "",
"maxLength": "",
"multipleFiles": false,
"maxFiles": "",
"calculationFormula": "",
"calculationRounding": "",
"enableCalculation": "",
"disableQuantity": false,
"displayAllCategories": false,
"useRichTextEditor": false,
"displayOnly": "",
"enablePrice": ""
},
{
"type": "fileupload",
"id": 12,
"label": "File",
"adminLabel": "",
"isRequired": false,
"size": "medium",
"errorMessage": "",
"visibility": "visible",
"inputs": null,
"formId": 1,
"description": "Upload customer acceptance file",
"allowsPrepopulate": false,
"inputMask": false,
"inputMaskValue": "",
@@ -120,20 +259,19 @@
"conditionalLogic": "",
"maxFileSize": "",
"maxFiles": "",
"multipleFiles": false,
"allowedExtensions": "",
"multipleFiles": true,
"allowedExtensions": "pdf,docx,doc,xlsx,xls,odt,ods,jpg,png,jpeg",
"productField": "",
"calculationFormula": "",
"calculationRounding": "",
"enableCalculation": "",
"disableQuantity": false,
"displayAllCategories": false,
"useRichTextEditor": false,
"displayOnly": ""
"useRichTextEditor": false
}
],
"version": "2.3.2",
"id": 10,
"id": 1,
"useCurrentUserAsAuthor": true,
"postContentTemplateEnabled": false,
"postTitleTemplateEnabled": false,
@@ -142,6 +280,20 @@
"lastPageButton": null,
"pagination": null,
"firstPageCssClass": null,
"is_active": "1",
"date_created": "2018-08-09 16:03:22",
"is_trash": "0",
"notifications": [
{
"id": "5b5f75f748cee",
"to": "{admin_email}",
"name": "Admin Notification",
"event": "form_submission",
"toType": "email",
"subject": "New submission from {form_title}",
"message": "{all_fields}"
}
],
"confirmations": [
{
"id": "5b5f75f7494b7",
@@ -154,22 +306,11 @@
"queryString": ""
}
],
"notifications": [
{
"id": "5b5f75f748cee",
"to": "{admin_email}",
"name": "Admin Notification",
"event": "form_submission",
"toType": "email",
"subject": "New submission from {form_title}",
"message": "{all_fields}"
}
],
"feeds": {
"gravityflow": [
{
"id": "22",
"form_id": "10",
"id": "1",
"form_id": "1",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -189,14 +330,12 @@
"schedule_date_field_offset": "0",
"schedule_date_field_offset_unit": "hours",
"schedule_date_field_before_after": "after",
"schedule_date_field": "6",
"type": "select",
"assignees": [
"role|administrator",
"assignee_user_field|2"
],
"editable_fields": [
"5"
],
"routing": "",
"assignee_policy": "any",
"highlight_editable_fields_enabled": "0",
@@ -204,9 +343,6 @@
"instructionsEnable": "0",
"instructionsValue": "",
"display_fields_mode": "selected_fields",
"display_fields_selected": [
"5"
],
"default_status": "hidden",
"note_mode": "not_required",
"assignee_notification_enabled": "0",
@@ -259,24 +395,25 @@
"complete_notification_disable_autoformat": "0",
"confirmation_messageEnable": "0",
"confirmation_messageValue": "Thank you.",
"expiration": "0",
"expiration_type": "delay",
"expiration": "1",
"expiration_type": "date_field",
"expiration_date": "",
"expiration_delay_offset": "7",
"expiration_delay_unit": "days",
"expiration_date_field_offset": "0",
"expiration_date_field_offset_unit": "hours",
"expiration_date_field_before_after": "after",
"expiration_date_field": "9",
"status_expiration": "expired",
"destination_expired": "next",
"destination_expired": "2",
"destination_complete": "next"
},
"addon_slug": "gravityflow",
"event_type": null
},
{
"id": "30",
"form_id": "10",
"id": "2",
"form_id": "1",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -362,7 +499,7 @@
"approval_notification_message": "Entry {entry_id} has been approved",
"approval_notification_disable_autoformat": "0",
"revertEnable": "0",
"revertValue": "22",
"revertValue": 1,
"note_mode": "not_required",
"expiration": "0",
"expiration_type": "delay",
@@ -374,7 +511,7 @@
"expiration_date_field_before_after": "after",
"status_expiration": "rejected",
"destination_expired": "next",
"destination_rejected": "22",
"destination_rejected": 1,
"destination_approved": "next"
},
"addon_slug": "gravityflow",
@@ -383,5 +520,5 @@
]
}
},
"version": "2.3.2.6"
"version": "2.3.2"
}

View File

@@ -30,7 +30,7 @@
"text": "wpUser"
}
],
"formId": 12,
"formId": 4,
"description": "",
"allowsPrepopulate": true,
"inputMask": false,
@@ -71,7 +71,7 @@
"inputs": null,
"dateType": "datepicker",
"calendarIconType": "calendar",
"formId": 12,
"formId": 4,
"description": "",
"allowsPrepopulate": false,
"inputMask": false,
@@ -102,7 +102,7 @@
}
],
"version": "2.3.2",
"id": 12,
"id": 4,
"useCurrentUserAsAuthor": true,
"postContentTemplateEnabled": false,
"postTitleTemplateEnabled": false,
@@ -111,17 +111,9 @@
"lastPageButton": null,
"pagination": null,
"firstPageCssClass": null,
"notifications": [
{
"id": "5b5f9ebc520f3",
"to": "{admin_email}",
"name": "Admin Notification",
"event": "form_submission",
"toType": "email",
"subject": "New submission from {form_title}",
"message": "{all_fields}"
}
],
"is_active": "1",
"date_created": "2018-08-09 15:36:00",
"is_trash": "0",
"confirmations": [
{
"id": "5b5f9ebc52a80",
@@ -134,11 +126,22 @@
"queryString": ""
}
],
"notifications": [
{
"id": "5b5f9ebc520f3",
"to": "{admin_email}",
"name": "Admin Notification",
"event": "form_submission",
"toType": "email",
"subject": "New submission from {form_title}",
"message": "{all_fields}"
}
],
"feeds": {
"gravityflow": [
{
"id": "27",
"form_id": "12",
"id": "6",
"form_id": "4",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -245,5 +248,5 @@
]
}
},
"version": "2.3.2.6"
"version": "2.3.2"
}

View File

@@ -30,7 +30,7 @@
"text": "wpUser"
}
],
"formId": 13,
"formId": 2,
"description": "",
"allowsPrepopulate": true,
"inputMask": false,
@@ -70,7 +70,7 @@
"inputs": null,
"dateType": "datepicker",
"calendarIconType": "calendar",
"formId": 13,
"formId": 2,
"description": "",
"allowsPrepopulate": false,
"inputMask": false,
@@ -111,7 +111,7 @@
"inputs": null,
"dateType": "datepicker",
"calendarIconType": "calendar",
"formId": 13,
"formId": 2,
"description": "",
"allowsPrepopulate": false,
"inputMask": false,
@@ -141,7 +141,7 @@
}
],
"version": "2.3.2",
"id": 13,
"id": 2,
"useCurrentUserAsAuthor": true,
"postContentTemplateEnabled": false,
"postTitleTemplateEnabled": false,
@@ -150,6 +150,9 @@
"lastPageButton": null,
"pagination": null,
"firstPageCssClass": null,
"is_active": "1",
"date_created": "2018-08-09 15:35:59",
"is_trash": "0",
"confirmations": [
{
"id": "5b60b12baa00e",
@@ -176,8 +179,8 @@
"feeds": {
"gravityflow": [
{
"id": "31",
"form_id": "13",
"id": "3",
"form_id": "2",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -286,8 +289,8 @@
"event_type": null
},
{
"id": "32",
"form_id": "13",
"id": "4",
"form_id": "2",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -377,7 +380,7 @@
"approval_notification_message": "Entry {entry_id} has been approved",
"approval_notification_disable_autoformat": "0",
"revertEnable": "0",
"revertValue": "31",
"revertValue": 3,
"note_mode": "not_required",
"expiration": "0",
"expiration_type": "delay",
@@ -390,7 +393,7 @@
"expiration_date_field": "4",
"status_expiration": "rejected",
"destination_expired": "next",
"destination_rejected": "31",
"destination_rejected": 3,
"destination_approved": "complete"
},
"addon_slug": "gravityflow",
@@ -399,5 +402,5 @@
]
}
},
"version": "2.3.2.6"
"version": "2.3.2"
}

View File

@@ -30,7 +30,7 @@
"text": "wpUser"
}
],
"formId": 9,
"formId": 3,
"description": "",
"allowsPrepopulate": true,
"inputMask": false,
@@ -71,7 +71,7 @@
"inputs": null,
"dateType": "datepicker",
"calendarIconType": "none",
"formId": 9,
"formId": 3,
"description": "",
"allowsPrepopulate": false,
"inputMask": false,
@@ -101,7 +101,7 @@
}
],
"version": "2.3.2",
"id": 9,
"id": 3,
"useCurrentUserAsAuthor": true,
"postContentTemplateEnabled": false,
"postTitleTemplateEnabled": false,
@@ -110,17 +110,9 @@
"lastPageButton": null,
"pagination": null,
"firstPageCssClass": null,
"notifications": [
{
"id": "5b5f68818822e",
"to": "{admin_email}",
"name": "Admin Notification",
"event": "form_submission",
"toType": "email",
"subject": "New submission from {form_title}",
"message": "{all_fields}"
}
],
"is_active": "1",
"date_created": "2018-08-09 15:36:00",
"is_trash": "0",
"confirmations": [
{
"id": "5b5f688188e90",
@@ -133,11 +125,22 @@
"queryString": ""
}
],
"notifications": [
{
"id": "5b5f68818822e",
"to": "{admin_email}",
"name": "Admin Notification",
"event": "form_submission",
"toType": "email",
"subject": "New submission from {form_title}",
"message": "{all_fields}"
}
],
"feeds": {
"gravityflow": [
{
"id": "20",
"form_id": "9",
"id": "5",
"form_id": "3",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -257,5 +260,5 @@
]
}
},
"version": "2.3.2.6"
"version": "2.3.2"
}

View File

@@ -21,7 +21,7 @@
"visibility": "visible",
"inputs": null,
"numberFormat": "decimal_dot",
"formId": "11",
"formId": 5,
"description": "",
"allowsPrepopulate": true,
"inputMask": false,
@@ -71,7 +71,7 @@
"text": "wpUser"
}
],
"formId": "11",
"formId": 5,
"description": "",
"allowsPrepopulate": true,
"inputMask": false,
@@ -102,7 +102,7 @@
}
],
"version": "2.3.2.6",
"id": "11",
"id": 5,
"useCurrentUserAsAuthor": true,
"postContentTemplateEnabled": false,
"postTitleTemplateEnabled": false,
@@ -112,20 +112,8 @@
"pagination": null,
"firstPageCssClass": null,
"is_active": "1",
"date_created": "2018-07-30 20:53:56",
"date_created": "2018-08-09 15:36:00",
"is_trash": "0",
"notifications": [
{
"id": "5b5f7ae4baced",
"to": "{admin_email}",
"name": "Admin Notification",
"event": "form_submission",
"toType": "email",
"subject": "New submission from {form_title}",
"message": "{all_fields}",
"isActive": false
}
],
"confirmations": [
{
"id": "5b5f7ae4bb79e",
@@ -138,11 +126,23 @@
"queryString": ""
}
],
"notifications": [
{
"id": "5b5f7ae4baced",
"to": "{admin_email}",
"name": "Admin Notification",
"event": "form_submission",
"toType": "email",
"subject": "New submission from {form_title}",
"message": "{all_fields}",
"isActive": false
}
],
"feeds": {
"gravityflow": [
{
"id": "28",
"form_id": "11",
"id": "7",
"form_id": "5",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -164,7 +164,7 @@
"schedule_date_field_before_after": "after",
"instructionsEnable": "0",
"instructionsValue": "",
"target_form_id": "9",
"target_form_id": 3,
"store_new_entry_idEnable": "1",
"new_entry_id_field": "6",
"destination_complete": "next"
@@ -173,8 +173,8 @@
"event_type": null
},
{
"id": "33",
"form_id": "11",
"id": "8",
"form_id": "5",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -196,7 +196,7 @@
"schedule_date_field_before_after": "after",
"instructionsEnable": "0",
"instructionsValue": "",
"target_form_id": "12",
"target_form_id": 4,
"store_new_entry_idEnable": "0",
"new_entry_id_field": "",
"destination_complete": "next"
@@ -205,8 +205,8 @@
"event_type": null
},
{
"id": "34",
"form_id": "11",
"id": "9",
"form_id": "5",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -228,7 +228,7 @@
"schedule_date_field_before_after": "after",
"instructionsEnable": "0",
"instructionsValue": "",
"target_form_id": "12",
"target_form_id": 4,
"store_new_entry_idEnable": "0",
"new_entry_id_field": "",
"destination_complete": "next"
@@ -237,8 +237,8 @@
"event_type": null
},
{
"id": "29",
"form_id": "11",
"id": "10",
"form_id": "5",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -258,7 +258,7 @@
"schedule_date_field_offset": "0",
"schedule_date_field_offset_unit": "hours",
"schedule_date_field_before_after": "after",
"target_form_id": "10",
"target_form_id": 1,
"store_new_entry_idEnable": "1",
"new_entry_id_field": "7",
"destination_complete": "next"
@@ -267,8 +267,8 @@
"event_type": null
},
{
"id": "36",
"form_id": "11",
"id": "11",
"form_id": "5",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -290,7 +290,7 @@
"schedule_date_field_before_after": "after",
"instructionsEnable": "0",
"instructionsValue": "",
"target_form_id": "12",
"target_form_id": 4,
"store_new_entry_idEnable": "0",
"new_entry_id_field": "",
"destination_complete": "next",
@@ -300,8 +300,8 @@
"event_type": null
},
{
"id": "35",
"form_id": "11",
"id": "12",
"form_id": "5",
"is_active": "1",
"feed_order": "0",
"meta": {
@@ -323,7 +323,7 @@
"schedule_date_field_before_after": "after",
"instructionsEnable": "0",
"instructionsValue": "",
"target_form_id": "12",
"target_form_id": 4,
"store_new_entry_idEnable": "0",
"new_entry_id_field": "",
"destination_complete": "next"
@@ -334,5 +334,5 @@
]
}
},
"version": "2.3.2.6"
"version": "2.3.2"
}