Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. [{
  2. "pagename": "Initialize",
  3. "rendered": "true",
  4. "form": [{
  5. "label": "Name",
  6. "type": "text",
  7. "path": "installation.user.name",
  8. "value": {
  9. "default": null,
  10. "placeholder": "Input Username"
  11. },
  12. "layout": {
  13. "mobile": 12,
  14. "tablet": 4,
  15. "desktop": 3
  16. }
  17. },
  18. {
  19. "label": "Do you accept the terms and conditions?",
  20. "type": "toggle",
  21. "path": "installation.user.accept",
  22. "value": {
  23. "default": false
  24. },
  25. "layout": {
  26. "mobile": 12,
  27. "tablet": 4,
  28. "desktop": 3
  29. },
  30. "rendered": "installation.user.name.length > 0"
  31. },
  32. {
  33. "label": "testing",
  34. "type": "date",
  35. "path": "testo",
  36. "rendered": "false"
  37. },
  38. {
  39. "label": "Root",
  40. "type": "map",
  41. "path": "root",
  42. "child_content": [{
  43. "label": "Child 1",
  44. "type": "array",
  45. "path": "child1",
  46. "child_content": {
  47. "type": "date"
  48. },
  49. "layout": {
  50. "mobile": 12,
  51. "tablet": 4,
  52. "desktop": 3
  53. }
  54. },
  55. {
  56. "label": "Child 2",
  57. "type": "map",
  58. "path": "child2",
  59. "child_content": [{
  60. "label": "Grandchild 1",
  61. "type": "checkbox",
  62. "path": "grandchild1",
  63. "value": {
  64. "default": "value1",
  65. "contents": [{
  66. "text": "Value",
  67. "value": "value1"
  68. },
  69. {
  70. "text": "Eulav",
  71. "value": "value2"
  72. },
  73. {
  74. "text": "Lueva",
  75. "value": "value3"
  76. }
  77. ]
  78. },
  79. "layout": {
  80. "mobile": 12,
  81. "tablet": 4,
  82. "desktop": 3
  83. }
  84. },
  85. {
  86. "label": "Grandchild 2",
  87. "type": "image",
  88. "path": "grandchild2"
  89. },
  90. {
  91. "label": "Grandchild 3",
  92. "type": "time",
  93. "path": "grandchild3",
  94. "layout": {
  95. "mobile": 2,
  96. "tablet": 2,
  97. "desktop": 2
  98. }
  99. },
  100. {
  101. "label": "Grandchild 4",
  102. "type": "number",
  103. "path": "grandchild4",
  104. "required": true
  105. }
  106. ]
  107. }
  108. ]
  109. }
  110.  
  111. ]
  112. }]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement