Skip to content

Instantly share code, notes, and snippets.

@JasonSanford
Last active March 7, 2016 20:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JasonSanford/0c4c141282933a650b9c to your computer and use it in GitHub Desktop.
Save JasonSanford/0c4c141282933a650b9c to your computer and use it in GitHub Desktop.
{
"form": {
"elements": [
{
"type": "YesNoField",
"key": "abc123",
"label": "Pets Allowed?",
"description": "Are pets allowed at this hotel?",
"data_name": "pets_allowed",
"disabled": false,
"hidden": false,
"required": false,
"positive": {
"value": "yep",
"label": "Yep!"
},
"negative": {
"value": "nope",
"label": "Nope!"
},
"neutral": {
"value": "maybe",
"label": "Umm, maybe?"
},
"neutral_enabled": true
}
],
"name": "Hotel Inspection",
"description": "A Hotel Inspection Form"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment