-
Re: Form app - Checkbox problem
tiffany@puppetlabs.com Nov 4, 2013 4:57 PM (in response to nforest)We are having the same issue
-
Re: Form app - Checkbox problem
tiffany@puppetlabs.com Nov 8, 2013 8:15 PM (in response to tiffany@puppetlabs.com)So I'm just a tinkerer and don't really know what I'm doing for the most part, but for what it's worth, here are the various ways I manipulated the template file that *didn't* work:
1)
{
"id": "check",
"label": "checkbox",
"type": "boolean",
"values": "",
"value": "off",
"title": "",
"required": false,
"patterns": "",
"patternError": ""
},
2)*wouldn't run in forms
[...] "values": "yes", "no",
"value": "off", [...]
3)*wouln't run - but error message taught me that i needed an array instead of a string object
"values": "yes",
"value": "off",
4) *wouldn't run
"values": 0,1,
"value": "off",
5)
"values": [
{
"value": "0",
"label": "yes"
},
{
"value": "1",
"label": "no"
}
],
"value": "off",
6)
"values": [
{
"value": "0",
"label": "yes"
},
{
"value": "1",
"label": "no"
}
],
"value": "1",
and then I gave up and went back to square one. I suppose I will change all booleans to single select yes/no until this gets fixed.
-