Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
{
"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