Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "display": "form",
- "components": [
- {
- "label": "Concorso ",
- "mask": false,
- "tableView": true,
- "alwaysEnabled": false,
- "type": "select",
- "input": true,
- "key": "concorso",
- "defaultValue": "",
- "validate": {
- "select": false,
- "customMessage": "",
- "json": "",
- "required": true
- },
- "conditional": {
- "show": "",
- "when": "",
- "json": ""
- },
- "data": {
- "url": "http://concorsi.deepcube.eu/api/sst/concorsi",
- "headers": [
- {
- "key": "",
- "value": ""
- }
- ],
- "values": []
- },
- "dataSrc": "url",
- "valueProperty": "key",
- "template": "<span>\{\{ item.label \}\}</span>",
- "selectThreshold": 0.3,
- "encrypted": false,
- "lazyLoad": false,
- "selectValues": "",
- "disableLimit": false,
- "sort": "",
- "reorder": false,
- "reference": false,
- "properties": {},
- "customConditional": "",
- "logic": [],
- "attributes": {}
- },
- {
- "label": "Nome concorso",
- "allowMultipleMasks": false,
- "showWordCount": false,
- "showCharCount": false,
- "tableView": true,
- "alwaysEnabled": false,
- "type": "textfield",
- "input": true,
- "key": "nomeConcorso",
- "defaultValue": "",
- "validate": {
- "customMessage": "",
- "json": "",
- "required": true
- },
- "conditional": {
- "show": "",
- "when": "",
- "json": ""
- },
- "widget": {
- "type": ""
- },
- "inputFormat": "plain",
- "encrypted": false,
- "properties": {},
- "reorder": false,
- "customConditional": "",
- "logic": [],
- "attributes": {}
- },
- {
- "label": "Template",
- "optionsLabelPosition": "left",
- "values": [
- {
- "label": "Singolo",
- "value": "singolo",
- "shortcut": "singolo"
- },
- {
- "label": "Centrato",
- "value": "centrato",
- "shortcut": "centrato"
- },
- {
- "label": "Alternato",
- "value": "alternato",
- "shortcut": ""
- },
- {
- "label": "Griglia",
- "value": "griglia",
- "shortcut": ""
- }
- ],
- "inline": true,
- "mask": false,
- "tableView": true,
- "alwaysEnabled": false,
- "type": "radio",
- "input": true,
- "key": "template",
- "defaultValue": "",
- "validate": {
- "customMessage": "",
- "json": "",
- "required": true
- },
- "conditional": {
- "show": "",
- "when": "",
- "json": ""
- },
- "encrypted": false,
- "properties": {},
- "customConditional": "",
- "logic": [],
- "attributes": {},
- "reorder": false
- },
- {
- "label": "Columns",
- "columns": [
- {
- "components": [
- {
- "label": "HTML",
- "className": "",
- "attrs": [
- {
- "attr": "",
- "value": ""
- }
- ],
- "content": "<span>Singolo</span>\n<img src=\"http://concorsi.deepcube.eu/img/tpl/Singolo.png\" style=\"width:100%;\">",
- "refreshOnChange": false,
- "mask": false,
- "tableView": true,
- "alwaysEnabled": false,
- "type": "htmlelement",
- "input": false,
- "key": "html",
- "validate": {
- "customMessage": "",
- "json": ""
- },
- "conditional": {
- "show": "",
- "when": "",
- "json": ""
- },
- "encrypted": false,
- "properties": {},
- "customConditional": "",
- "logic": [],
- "attributes": {},
- "reorder": false
- }
- ],
- "width": 3,
- "offset": 0,
- "push": 0,
- "pull": 0,
- "type": "column",
- "input": false,
- "hideOnChildrenHidden": false,
- "key": "column",
- "tableView": true,
- "label": "Column"
- },
- {
- "components": [
- {
- "label": "HTML",
- "className": "",
- "attrs": [
- {
- "attr": "",
- "value": ""
- }
- ],
- "content": "<span>Centrato</span>\n<img src=\"http://concorsi.deepcube.eu/img/tpl/Centrato.png\" style=\"width:100%;\">",
- "refreshOnChange": false,
- "mask": false,
- "tableView": true,
- "alwaysEnabled": false,
- "type": "htmlelement",
- "input": false,
- "key": "html2",
- "validate": {
- "customMessage": "",
- "json": ""
- },
- "conditional": {
- "show": "",
- "when": "",
- "json": ""
- },
- "encrypted": false,
- "properties": {},
- "customConditional": "",
- "logic": [],
- "attributes": {},
- "reorder": false
- }
- ],
- "width": 3,
- "offset": 0,
- "push": 0,
- "pull": 0,
- "type": "column",
- "input": false,
- "hideOnChildrenHidden": false,
- "key": "column",
- "tableView": true,
- "label": "Column"
- },
- {
- "width": 3,
- "offset": 0,
- "push": 0,
- "pull": 0,
- "type": "column",
- "input": false,
- "hideOnChildrenHidden": false,
- "key": "column",
- "tableView": true,
- "label": "Column",
- "components": [
- {
- "label": "HTML",
- "className": "",
- "attrs": [
- {
- "attr": "",
- "value": ""
- }
- ],
- "content": "<span>Alternato</span>\n<img src=\"http://concorsi.deepcube.eu/img/tpl/Alternato.png\" style=\"width:100%;\">",
- "refreshOnChange": false,
- "mask": false,
- "tableView": true,
- "alwaysEnabled": false,
- "type": "htmlelement",
- "input": false,
- "key": "html3",
- "validate": {
- "customMessage": "",
- "json": ""
- },
- "conditional": {
- "show": "",
- "when": "",
- "json": ""
- },
- "encrypted": false,
- "properties": {},
- "customConditional": "",
- "logic": [],
- "attributes": {},
- "reorder": false
- }
- ]
- },
- {
- "width": 3,
- "offset": 0,
- "push": 0,
- "pull": 0,
- "type": "column",
- "input": false,
- "hideOnChildrenHidden": false,
- "key": "column",
- "tableView": true,
- "label": "Column",
- "components": [
- {
- "label": "HTML",
- "className": "",
- "attrs": [
- {
- "attr": "",
- "value": ""
- }
- ],
- "content": "<span>Griglia</span>\n<img src=\"http://concorsi.deepcube.eu/img/tpl/Griglia.png\" style=\"width:100%;\">",
- "refreshOnChange": false,
- "mask": false,
- "tableView": true,
- "alwaysEnabled": false,
- "type": "htmlelement",
- "input": false,
- "key": "html4",
- "validate": {
- "customMessage": "",
- "json": ""
- },
- "conditional": {
- "show": "",
- "when": "",
- "json": ""
- },
- "encrypted": false,
- "properties": {},
- "customConditional": "",
- "logic": [],
- "attributes": {},
- "reorder": false
- }
- ]
- }
- ],
- "mask": false,
- "tableView": false,
- "alwaysEnabled": false,
- "type": "columns",
- "input": false,
- "key": "columns3",
- "conditional": {
- "show": "",
- "when": "",
- "json": ""
- },
- "reorder": false,
- "properties": {},
- "customConditional": "",
- "logic": [],
- "attributes": {}
- },
- {
- "label": "Brand",
- "widget": "choicesjs",
- "data": {
- "values": [
- {
- "label": "Pampers",
- "value": "pampers"
- },
- {
- "label": "Lines",
- "value": "lines"
- },
- {
- "label": "Ace",
- "value": "ace"
- },
- {
- "label": "Tampax",
- "value": "tampax"
- },
- {
- "label": "Specialist",
- "value": "specialist"
- }
- ],
- "headers": [
- {
- "key": "",
- "value": ""
- }
- ]
- },
- "template": "<span>\{\{ item.label \}\}</span>",
- "selectThreshold": 0.3,
- "validate": {
- "select": false,
- "required": true
- },
- "key": "brand",
- "type": "select",
- "dataGridLabel": false,
- "indexeddb": {
- "database": "",
- "table": "",
- "filter": ""
- },
- "disableLimit": false,
- "addResource": false,
- "reference": false,
- "input": true
- },
- {
- "label": "URL Concorso",
- "description": "L'URL verrà generata in questo modo: nomebrand.concorsi.fatergroup.com/{indirizzo che si inserisce qui}. È possibile usare lo /",
- "inputMasks": [
- {
- "label": "",
- "mask": ""
- }
- ],
- "inputFormat": "plain",
- "case": "lowercase",
- "validate": {
- "required": true
- },
- "key": "url",
- "type": "textfield",
- "dataGridLabel": false,
- "input": true
- },
- {
- "type": "button",
- "label": "Avanti",
- "key": "submit",
- "disableOnInvalid": true,
- "theme": "primary",
- "input": true,
- "tableView": true
- }
- ],
- "settings": {
- "pdf": {
- "id": "1ec0f8ee-6685-5d98-a847-26f67b67d6f0",
- "src": "https://files.form.io/pdf/5692b91fd1028f01000407e3/file/1ec0f8ee-6685-5d98-a847-26f67b67d6f0"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement