252 lines
7.8 KiB
JSON
252 lines
7.8 KiB
JSON
{
|
|
"controller": "controllers/record",
|
|
"searchPanelDisabled": true,
|
|
"recordViews": {
|
|
"detail": "views/lead-capture/record/detail",
|
|
"list": "views/lead-capture/record/list"
|
|
},
|
|
"dynamicLogic": {
|
|
"fields": {
|
|
"targetList": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "subscribeToTargetList"
|
|
}
|
|
]
|
|
},
|
|
"required": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "subscribeToTargetList"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"subscribeContactToTargetList": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "subscribeToTargetList"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"optInConfirmationLifetime": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "optInConfirmation"
|
|
}
|
|
]
|
|
},
|
|
"required": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "optInConfirmation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"optInConfirmationSuccessMessage": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "optInConfirmation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"createLeadBeforeOptInConfirmation": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "optInConfirmation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"smtpAccount": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "optInConfirmation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"skipOptInConfirmationIfSubscribed": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "and",
|
|
"value": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "optInConfirmation"
|
|
},
|
|
{
|
|
"type": "isNotEmpty",
|
|
"attribute": "targetListId",
|
|
"data": {
|
|
"field": "targetList"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"optInConfirmationEmailTemplate": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "optInConfirmation"
|
|
}
|
|
]
|
|
},
|
|
"required": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "optInConfirmation"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"apiKey": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isNotEmpty",
|
|
"attribute": "id"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"phoneNumberCountry": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "contains",
|
|
"attribute": "fieldList",
|
|
"value": "phoneNumber"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"formSuccessText": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "formEnabled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"formText": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "formEnabled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"formSuccessRedirectUrl": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "formEnabled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"formLanguage": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "formEnabled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"formFrameAncestors": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "formEnabled"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"formCaptcha": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "formEnabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"panels": {
|
|
"form": {
|
|
"visible": {
|
|
"conditionGroup": [
|
|
{
|
|
"type": "isNotEmpty",
|
|
"attribute": "id"
|
|
},
|
|
{
|
|
"type": "isTrue",
|
|
"attribute": "formEnabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"sidePanels": {
|
|
"detail": [
|
|
{
|
|
"name": "request",
|
|
"label": "Request",
|
|
"isForm": true,
|
|
"view": "views/lead-capture/record/panels/request",
|
|
"notRefreshable": true
|
|
},
|
|
{
|
|
"name": "form",
|
|
"label": "Web Form",
|
|
"isForm": true,
|
|
"view": "views/lead-capture/record/panels/form",
|
|
"notRefreshable": true
|
|
}
|
|
]
|
|
},
|
|
"relationshipPanels": {
|
|
"logRecords": {
|
|
"rowActionsView": "views/record/row-actions/view-and-remove",
|
|
"layout": "listForLeadCapture",
|
|
"select": false,
|
|
"create": false
|
|
}
|
|
}
|
|
}
|