Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "cmd": "heading",
- "type": "group",
- "text": "Hotel Booking"
- },
- {
- "cmd": "heading",
- "type": "instructions",
- "text": "Easy way to reserve a room"
- },
- {
- "cmd": "heading",
- "type": "section",
- "text": "Guest Details"
- },
- {
- "cmd": "field",
- "type": "text",
- "groupPath": "field1",
- "text": "Name",
- "previewValue": "Preview value 1"
- },
- {
- "cmd": "field",
- "type": "phone",
- "groupPath": "field2",
- "text": "Contact Number",
- "previewValue": "15"
- },
- {
- "cmd": "field",
- "type": "text",
- "groupPath": "field3",
- "text": "E-mail",
- "previewValue": "Preview value 2"
- },
- {
- "cmd": "heading",
- "type": "section",
- "text": "Reserve"
- },
- {
- "cmd": "field",
- "type": "date",
- "groupPath": "field4",
- "text": "Check-in",
- "previewValue": "2016-03-25"
- },
- {
- "cmd": "field",
- "type": "date",
- "groupPath": "field5",
- "text": "Check-out",
- "previewValue": "2016-03-25"
- },
- {
- "cmd": "field",
- "type": "integer",
- "groupPath": "field6",
- "text": "Guest",
- "previewValue": "15"
- },
- {
- "cmd": "field",
- "type": "integer",
- "groupPath": "field7",
- "text": "Room",
- "previewValue": "15"
- },
- {
- "cmd": "field",
- "type": "list",
- "groupPath": "field8",
- "text": "Room Type",
- "list": [
- {
- "value": "Single Standard Room"
- },
- {
- "value": "Double Standard Room"
- },
- {
- "value": "Deluxe Room"
- },
- {
- "value": "President Room"
- },
- {
- "value": "Suite President Room"
- }
- ],
- "previewValue": "Double Standard Room"
- },
- {
- "cmd": "heading",
- "type": "section",
- "text": "Additional Information"
- },
- {
- "cmd": "field",
- "type": "buttonlist",
- "groupPath": "field9",
- "text": "Trip for?",
- "list": [
- {
- "value": "Holiday"
- },
- {
- "value": "Work"
- }
- ],
- "previewValue": "Work"
- },
- {
- "cmd": "field",
- "type": "photo",
- "groupPath": "field10",
- "text": "ID Card"
- },
- {
- "cmd": "heading",
- "type": "section"
- },
- {
- "cmd": "changeStatus",
- "target": "submitted",
- "text": "Reserve"
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement