Skip to content

Instantly share code, notes, and snippets.

@JasonSanford JasonSanford/yes_no_form.json Secret
Last active Mar 7, 2016

Embed
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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.