Advertisement
diemzsandiaz

TransForm Complex Form

Dec 22nd, 2017
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.09 KB | None | 0 0
  1. [
  2.    {
  3.       "cmd": "heading",
  4.       "type": "group",
  5.       "text": "TRANSFORM INSURANCE"
  6.    },
  7.    {
  8.       "cmd": "heading",
  9.       "type": "instructions",
  10.       "text": "Task Survey Claim of Insurance"
  11.    },
  12.    {
  13.       "cmd": "heading",
  14.       "type": "section"
  15.    },
  16.    {
  17.       "cmd": "pageStart",
  18.       "text": "Officer"
  19.    },
  20.    {
  21.       "cmd": "field",
  22.       "type": "date",
  23.       "groupPath": "field1",
  24.       "text": "Date of Survey",
  25.       "previewValue": "2016-03-25"
  26.    },
  27.    {
  28.       "cmd": "field",
  29.       "type": "text",
  30.       "groupPath": "field2",
  31.       "text": "Officer / Surveyor Name",
  32.       "previewValue": "Preview value 1"
  33.    },
  34.    {
  35.       "cmd": "field",
  36.       "type": "number",
  37.       "groupPath": "field3",
  38.       "text": "Employee Number",
  39.       "previewValue": "15"
  40.    },
  41.    {
  42.       "cmd": "goTo",
  43.       "type": "nextPage",
  44.       "text": "Insurance Policy"
  45.    },
  46.    {
  47.       "cmd": "pageEnd"
  48.    },
  49.    {
  50.       "cmd": "pageStart",
  51.       "text": "Insurance Policy"
  52.    },
  53.    {
  54.       "cmd": "heading",
  55.       "type": "section",
  56.       "text": "Client Insurance Policy"
  57.    },
  58.    {
  59.       "cmd": "field",
  60.       "type": "text",
  61.       "groupPath": "field4",
  62.       "text": "Insurance Policy Number",
  63.       "previewValue": "Preview value 2"
  64.    },
  65.    {
  66.       "cmd": "field",
  67.       "type": "text",
  68.       "groupPath": "field5",
  69.       "text": "Name of The Insured",
  70.       "previewValue": "Preview value 3"
  71.    },
  72.    {
  73.       "cmd": "field",
  74.       "type": "buttonlist",
  75.       "groupPath": "field6",
  76.       "text": "Type of Insurance",
  77.       "list": [
  78.          {
  79.             "value": "Vehicle"
  80.          },
  81.          {
  82.             "value": "Property"
  83.          }
  84.       ],
  85.       "previewValue": "Property"
  86.    },
  87.    {
  88.       "cmd": "if",
  89.       "test": "fields.field6==\"Vehicle\""
  90.    },
  91.    {
  92.       "cmd": "sectionStart"
  93.    },
  94.    {
  95.       "cmd": "field",
  96.       "groupPath": "field21",
  97.       "text": "Plate Number",
  98.       "previewValue": "Preview value 8",
  99.       "type": "text"
  100.    },
  101.    {
  102.       "cmd": "field",
  103.       "groupPath": "field22",
  104.       "text": "Vehicle Type",
  105.       "previewValue": "Preview value 9",
  106.       "type": "text"
  107.    },
  108.    {
  109.       "cmd": "sectionEnd"
  110.    },
  111.    {
  112.       "cmd": "elseif",
  113.       "test": "fields.field6==\"Property\""
  114.    },
  115.    {
  116.       "cmd": "sectionStart"
  117.    },
  118.    {
  119.       "cmd": "field",
  120.       "groupPath": "field23",
  121.       "text": "Property Type",
  122.       "previewValue": "value2",
  123.       "type": "list",
  124.       "list": [
  125.          {
  126.             "value": "House"
  127.          },
  128.          {
  129.             "value": "Office"
  130.          },
  131.          {
  132.             "value": "Factory"
  133.          },
  134.          {
  135.             "value": "Warehouse"
  136.          }
  137.       ]
  138.    },
  139.    {
  140.       "cmd": "field",
  141.       "groupPath": "field24",
  142.       "text": "Property Address",
  143.       "previewValue": "Preview value 10",
  144.       "type": "text",
  145.       "settings": {
  146.          "multiline": true
  147.       }
  148.    },
  149.    {
  150.       "cmd": "sectionEnd"
  151.    },
  152.    {
  153.       "cmd": "endif"
  154.    },
  155.    {
  156.       "cmd": "dataGroupStart",
  157.       "arrayname": "itemGroup1",
  158.       "newmsg": "Add Contact Number",
  159.       "deletemsg": "Drop"
  160.    },
  161.    {
  162.       "cmd": "field",
  163.       "groupPath": "field7",
  164.       "text": "Contact",
  165.       "previewValue": "Preview value 4",
  166.       "type": "phone"
  167.    },
  168.    {
  169.       "cmd": "dataGroupEnd"
  170.    },
  171.    {
  172.       "cmd": "pageEnd"
  173.    },
  174.    {
  175.       "cmd": "heading",
  176.       "type": "section",
  177.       "text": "Survey Results"
  178.    },
  179.    {
  180.       "cmd": "field",
  181.       "type": "photo",
  182.       "groupPath": "field8",
  183.       "text": "Object Insured"
  184.    },
  185.    {
  186.       "cmd": "field",
  187.       "type": "datetime",
  188.       "groupPath": "field9",
  189.       "text": "Time of Accident",
  190.       "previewValue": "2016-03-25 09:15"
  191.    },
  192.    {
  193.       "cmd": "field",
  194.       "groupPath": "field10",
  195.       "text": "Location of Accident",
  196.       "previewValue": "Preview value 5",
  197.       "type": "text",
  198.       "settings": {
  199.          "multiline": true
  200.       }
  201.    },
  202.    {
  203.       "cmd": "field",
  204.       "type": "text",
  205.       "groupPath": "field11",
  206.       "text": "Chronology",
  207.       "previewValue": "Preview value 6"
  208.    },
  209.    {
  210.       "cmd": "field",
  211.       "type": "audio",
  212.       "groupPath": "field12",
  213.       "text": "Witness Testimony"
  214.    },
  215.    {
  216.       "cmd": "field",
  217.       "type": "text",
  218.       "groupPath": "field13",
  219.       "text": "Damage Part",
  220.       "previewValue": "Preview value 7"
  221.    },
  222.    {
  223.       "cmd": "field",
  224.       "type": "signed",
  225.       "groupPath": "field14",
  226.       "text": "Estimated Costs",
  227.       "previewValue": "15"
  228.    },
  229.    {
  230.       "cmd": "if",
  231.       "test": "fields.field6==\"Vehicle\""
  232.    },
  233.    {
  234.       "cmd": "field",
  235.       "type": "list",
  236.       "groupPath": "field15",
  237.       "text": "Car Repair Shop",
  238.       "list": [
  239.          {
  240.             "value": "Bintang Ijo CarRepair Shop"
  241.          },
  242.          {
  243.             "value": "Cahaya Biru CarRepair Shop"
  244.          },
  245.          {
  246.             "value": "Hutan Lebat CarRepair Shop"
  247.          },
  248.          {
  249.             "value": "Minggu Pagi CarRepair Shop"
  250.          }
  251.       ],
  252.       "previewValue": "Cahaya Biru CarRepair Shop"
  253.    },
  254.    {
  255.       "cmd": "field",
  256.       "type": "integer",
  257.       "groupPath": "field16",
  258.       "text": "Length of Repair Time",
  259.       "previewValue": "15"
  260.    },
  261.    {
  262.       "cmd": "endif"
  263.    },
  264.    {
  265.       "cmd": "field",
  266.       "type": "location",
  267.       "groupPath": "field17",
  268.       "text": "Location of Survey"
  269.    },
  270.    {
  271.       "cmd": "field",
  272.       "type": "number",
  273.       "groupPath": "field18",
  274.       "text": "Claims Submitted",
  275.       "previewValue": "15"
  276.    },
  277.    {
  278.       "cmd": "heading",
  279.       "type": "section"
  280.    },
  281.    {
  282.       "cmd": "field",
  283.       "type": "photo",
  284.       "groupPath": "field19",
  285.       "text": "Insured ID Card"
  286.    },
  287.    {
  288.       "cmd": "field",
  289.       "type": "signature",
  290.       "groupPath": "field20",
  291.       "text": "Insured Sign"
  292.    },
  293.    {
  294.       "cmd": "heading",
  295.       "type": "section"
  296.    },
  297.    {
  298.       "cmd": "changeStatus",
  299.       "target": "submitted",
  300.       "text": "Submit"
  301.    }
  302. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement