Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.29 KB | None | 0 0
  1. {
  2. "display": "form",
  3. "components": [
  4. {
  5. "label": "Concorso ",
  6. "mask": false,
  7. "tableView": true,
  8. "alwaysEnabled": false,
  9. "type": "select",
  10. "input": true,
  11. "key": "concorso",
  12. "defaultValue": "",
  13. "validate": {
  14. "select": false,
  15. "customMessage": "",
  16. "json": "",
  17. "required": true
  18. },
  19. "conditional": {
  20. "show": "",
  21. "when": "",
  22. "json": ""
  23. },
  24. "data": {
  25. "url": "http://concorsi.deepcube.eu/api/sst/concorsi",
  26. "headers": [
  27. {
  28. "key": "",
  29. "value": ""
  30. }
  31. ],
  32. "values": []
  33. },
  34. "dataSrc": "url",
  35. "valueProperty": "key",
  36. "template": "<span>\{\{ item.label \}\}</span>",
  37. "selectThreshold": 0.3,
  38. "encrypted": false,
  39. "lazyLoad": false,
  40. "selectValues": "",
  41. "disableLimit": false,
  42. "sort": "",
  43. "reorder": false,
  44. "reference": false,
  45. "properties": {},
  46. "customConditional": "",
  47. "logic": [],
  48. "attributes": {}
  49. },
  50. {
  51. "label": "Nome concorso",
  52. "allowMultipleMasks": false,
  53. "showWordCount": false,
  54. "showCharCount": false,
  55. "tableView": true,
  56. "alwaysEnabled": false,
  57. "type": "textfield",
  58. "input": true,
  59. "key": "nomeConcorso",
  60. "defaultValue": "",
  61. "validate": {
  62. "customMessage": "",
  63. "json": "",
  64. "required": true
  65. },
  66. "conditional": {
  67. "show": "",
  68. "when": "",
  69. "json": ""
  70. },
  71. "widget": {
  72. "type": ""
  73. },
  74. "inputFormat": "plain",
  75. "encrypted": false,
  76. "properties": {},
  77. "reorder": false,
  78. "customConditional": "",
  79. "logic": [],
  80. "attributes": {}
  81. },
  82. {
  83. "label": "Template",
  84. "optionsLabelPosition": "left",
  85. "values": [
  86. {
  87. "label": "Singolo",
  88. "value": "singolo",
  89. "shortcut": "singolo"
  90. },
  91. {
  92. "label": "Centrato",
  93. "value": "centrato",
  94. "shortcut": "centrato"
  95. },
  96. {
  97. "label": "Alternato",
  98. "value": "alternato",
  99. "shortcut": ""
  100. },
  101. {
  102. "label": "Griglia",
  103. "value": "griglia",
  104. "shortcut": ""
  105. }
  106. ],
  107. "inline": true,
  108. "mask": false,
  109. "tableView": true,
  110. "alwaysEnabled": false,
  111. "type": "radio",
  112. "input": true,
  113. "key": "template",
  114. "defaultValue": "",
  115. "validate": {
  116. "customMessage": "",
  117. "json": "",
  118. "required": true
  119. },
  120. "conditional": {
  121. "show": "",
  122. "when": "",
  123. "json": ""
  124. },
  125. "encrypted": false,
  126. "properties": {},
  127. "customConditional": "",
  128. "logic": [],
  129. "attributes": {},
  130. "reorder": false
  131. },
  132. {
  133. "label": "Columns",
  134. "columns": [
  135. {
  136. "components": [
  137. {
  138. "label": "HTML",
  139. "className": "",
  140. "attrs": [
  141. {
  142. "attr": "",
  143. "value": ""
  144. }
  145. ],
  146. "content": "<span>Singolo</span>\n<img src=\"http://concorsi.deepcube.eu/img/tpl/Singolo.png\" style=\"width:100%;\">",
  147. "refreshOnChange": false,
  148. "mask": false,
  149. "tableView": true,
  150. "alwaysEnabled": false,
  151. "type": "htmlelement",
  152. "input": false,
  153. "key": "html",
  154. "validate": {
  155. "customMessage": "",
  156. "json": ""
  157. },
  158. "conditional": {
  159. "show": "",
  160. "when": "",
  161. "json": ""
  162. },
  163. "encrypted": false,
  164. "properties": {},
  165. "customConditional": "",
  166. "logic": [],
  167. "attributes": {},
  168. "reorder": false
  169. }
  170. ],
  171. "width": 3,
  172. "offset": 0,
  173. "push": 0,
  174. "pull": 0,
  175. "type": "column",
  176. "input": false,
  177. "hideOnChildrenHidden": false,
  178. "key": "column",
  179. "tableView": true,
  180. "label": "Column"
  181. },
  182. {
  183. "components": [
  184. {
  185. "label": "HTML",
  186. "className": "",
  187. "attrs": [
  188. {
  189. "attr": "",
  190. "value": ""
  191. }
  192. ],
  193. "content": "<span>Centrato</span>\n<img src=\"http://concorsi.deepcube.eu/img/tpl/Centrato.png\" style=\"width:100%;\">",
  194. "refreshOnChange": false,
  195. "mask": false,
  196. "tableView": true,
  197. "alwaysEnabled": false,
  198. "type": "htmlelement",
  199. "input": false,
  200. "key": "html2",
  201. "validate": {
  202. "customMessage": "",
  203. "json": ""
  204. },
  205. "conditional": {
  206. "show": "",
  207. "when": "",
  208. "json": ""
  209. },
  210. "encrypted": false,
  211. "properties": {},
  212. "customConditional": "",
  213. "logic": [],
  214. "attributes": {},
  215. "reorder": false
  216. }
  217. ],
  218. "width": 3,
  219. "offset": 0,
  220. "push": 0,
  221. "pull": 0,
  222. "type": "column",
  223. "input": false,
  224. "hideOnChildrenHidden": false,
  225. "key": "column",
  226. "tableView": true,
  227. "label": "Column"
  228. },
  229. {
  230. "width": 3,
  231. "offset": 0,
  232. "push": 0,
  233. "pull": 0,
  234. "type": "column",
  235. "input": false,
  236. "hideOnChildrenHidden": false,
  237. "key": "column",
  238. "tableView": true,
  239. "label": "Column",
  240. "components": [
  241. {
  242. "label": "HTML",
  243. "className": "",
  244. "attrs": [
  245. {
  246. "attr": "",
  247. "value": ""
  248. }
  249. ],
  250. "content": "<span>Alternato</span>\n<img src=\"http://concorsi.deepcube.eu/img/tpl/Alternato.png\" style=\"width:100%;\">",
  251. "refreshOnChange": false,
  252. "mask": false,
  253. "tableView": true,
  254. "alwaysEnabled": false,
  255. "type": "htmlelement",
  256. "input": false,
  257. "key": "html3",
  258. "validate": {
  259. "customMessage": "",
  260. "json": ""
  261. },
  262. "conditional": {
  263. "show": "",
  264. "when": "",
  265. "json": ""
  266. },
  267. "encrypted": false,
  268. "properties": {},
  269. "customConditional": "",
  270. "logic": [],
  271. "attributes": {},
  272. "reorder": false
  273. }
  274. ]
  275. },
  276. {
  277. "width": 3,
  278. "offset": 0,
  279. "push": 0,
  280. "pull": 0,
  281. "type": "column",
  282. "input": false,
  283. "hideOnChildrenHidden": false,
  284. "key": "column",
  285. "tableView": true,
  286. "label": "Column",
  287. "components": [
  288. {
  289. "label": "HTML",
  290. "className": "",
  291. "attrs": [
  292. {
  293. "attr": "",
  294. "value": ""
  295. }
  296. ],
  297. "content": "<span>Griglia</span>\n<img src=\"http://concorsi.deepcube.eu/img/tpl/Griglia.png\" style=\"width:100%;\">",
  298. "refreshOnChange": false,
  299. "mask": false,
  300. "tableView": true,
  301. "alwaysEnabled": false,
  302. "type": "htmlelement",
  303. "input": false,
  304. "key": "html4",
  305. "validate": {
  306. "customMessage": "",
  307. "json": ""
  308. },
  309. "conditional": {
  310. "show": "",
  311. "when": "",
  312. "json": ""
  313. },
  314. "encrypted": false,
  315. "properties": {},
  316. "customConditional": "",
  317. "logic": [],
  318. "attributes": {},
  319. "reorder": false
  320. }
  321. ]
  322. }
  323. ],
  324. "mask": false,
  325. "tableView": false,
  326. "alwaysEnabled": false,
  327. "type": "columns",
  328. "input": false,
  329. "key": "columns3",
  330. "conditional": {
  331. "show": "",
  332. "when": "",
  333. "json": ""
  334. },
  335. "reorder": false,
  336. "properties": {},
  337. "customConditional": "",
  338. "logic": [],
  339. "attributes": {}
  340. },
  341. {
  342. "label": "Brand",
  343. "widget": "choicesjs",
  344. "data": {
  345. "values": [
  346. {
  347. "label": "Pampers",
  348. "value": "pampers"
  349. },
  350. {
  351. "label": "Lines",
  352. "value": "lines"
  353. },
  354. {
  355. "label": "Ace",
  356. "value": "ace"
  357. },
  358. {
  359. "label": "Tampax",
  360. "value": "tampax"
  361. },
  362. {
  363. "label": "Specialist",
  364. "value": "specialist"
  365. }
  366. ],
  367. "headers": [
  368. {
  369. "key": "",
  370. "value": ""
  371. }
  372. ]
  373. },
  374. "template": "<span>\{\{ item.label \}\}</span>",
  375. "selectThreshold": 0.3,
  376. "validate": {
  377. "select": false,
  378. "required": true
  379. },
  380. "key": "brand",
  381. "type": "select",
  382. "dataGridLabel": false,
  383. "indexeddb": {
  384. "database": "",
  385. "table": "",
  386. "filter": ""
  387. },
  388. "disableLimit": false,
  389. "addResource": false,
  390. "reference": false,
  391. "input": true
  392. },
  393. {
  394. "label": "URL Concorso",
  395. "description": "L'URL verrà generata in questo modo: nomebrand.concorsi.fatergroup.com/{indirizzo che si inserisce qui}. È possibile usare lo /",
  396. "inputMasks": [
  397. {
  398. "label": "",
  399. "mask": ""
  400. }
  401. ],
  402. "inputFormat": "plain",
  403. "case": "lowercase",
  404. "validate": {
  405. "required": true
  406. },
  407. "key": "url",
  408. "type": "textfield",
  409. "dataGridLabel": false,
  410. "input": true
  411. },
  412. {
  413. "type": "button",
  414. "label": "Avanti",
  415. "key": "submit",
  416. "disableOnInvalid": true,
  417. "theme": "primary",
  418. "input": true,
  419. "tableView": true
  420. }
  421. ],
  422. "settings": {
  423. "pdf": {
  424. "id": "1ec0f8ee-6685-5d98-a847-26f67b67d6f0",
  425. "src": "https://files.form.io/pdf/5692b91fd1028f01000407e3/file/1ec0f8ee-6685-5d98-a847-26f67b67d6f0"
  426. }
  427. }
  428. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement