Advertisement
diemzsandiaz

TransForm Intermediate Form

Dec 22nd, 2017
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.58 KB | None | 0 0
  1. [
  2.    {
  3.       "cmd": "heading",
  4.       "type": "group",
  5.       "text": "Hotel Booking"
  6.    },
  7.    {
  8.       "cmd": "heading",
  9.       "type": "instructions",
  10.       "text": "Easy way to reserve a room"
  11.    },
  12.    {
  13.       "cmd": "heading",
  14.       "type": "section",
  15.       "text": "Guest Details"
  16.    },
  17.    {
  18.       "cmd": "field",
  19.       "type": "text",
  20.       "groupPath": "field1",
  21.       "text": "Name",
  22.       "previewValue": "Preview value 1"
  23.    },
  24.    {
  25.       "cmd": "field",
  26.       "type": "phone",
  27.       "groupPath": "field2",
  28.       "text": "Contact Number",
  29.       "previewValue": "15"
  30.    },
  31.    {
  32.       "cmd": "field",
  33.       "type": "text",
  34.       "groupPath": "field3",
  35.       "text": "E-mail",
  36.       "previewValue": "Preview value 2"
  37.    },
  38.    {
  39.       "cmd": "heading",
  40.       "type": "section",
  41.       "text": "Reserve"
  42.    },
  43.    {
  44.       "cmd": "field",
  45.       "type": "date",
  46.       "groupPath": "field4",
  47.       "text": "Check-in",
  48.       "previewValue": "2016-03-25"
  49.    },
  50.    {
  51.       "cmd": "field",
  52.       "type": "date",
  53.       "groupPath": "field5",
  54.       "text": "Check-out",
  55.       "previewValue": "2016-03-25"
  56.    },
  57.    {
  58.       "cmd": "field",
  59.       "type": "integer",
  60.       "groupPath": "field6",
  61.       "text": "Guest",
  62.       "previewValue": "15"
  63.    },
  64.    {
  65.       "cmd": "field",
  66.       "type": "integer",
  67.       "groupPath": "field7",
  68.       "text": "Room",
  69.       "previewValue": "15"
  70.    },
  71.    {
  72.       "cmd": "field",
  73.       "type": "list",
  74.       "groupPath": "field8",
  75.       "text": "Room Type",
  76.       "list": [
  77.          {
  78.             "value": "Single Standard Room"
  79.          },
  80.          {
  81.             "value": "Double Standard Room"
  82.          },
  83.          {
  84.             "value": "Deluxe Room"
  85.          },
  86.          {
  87.             "value": "President Room"
  88.          },
  89.          {
  90.             "value": "Suite President Room"
  91.          }
  92.       ],
  93.       "previewValue": "Double Standard Room"
  94.    },
  95.    {
  96.       "cmd": "heading",
  97.       "type": "section",
  98.       "text": "Additional Information"
  99.    },
  100.    {
  101.       "cmd": "field",
  102.       "type": "buttonlist",
  103.       "groupPath": "field9",
  104.       "text": "Trip for?",
  105.       "list": [
  106.          {
  107.             "value": "Holiday"
  108.          },
  109.          {
  110.             "value": "Work"
  111.          }
  112.       ],
  113.       "previewValue": "Work"
  114.    },
  115.    {
  116.       "cmd": "field",
  117.       "type": "photo",
  118.       "groupPath": "field10",
  119.       "text": "ID Card"
  120.    },
  121.    {
  122.       "cmd": "heading",
  123.       "type": "section"
  124.    },
  125.    {
  126.       "cmd": "changeStatus",
  127.       "target": "submitted",
  128.       "text": "Reserve"
  129.    }
  130. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement