tools
Version:
Install for the tools
56 lines • 1.52 kB
JavaScript
{
"type": "form_parent",
"title": "Signup form 1",
"description": "Description for signup form one",
"above" : "This is above",
"below" : "this is below",
"response": {
"redirect": "daisychain"
},
"template": "template1",
"fields": {
"field1" : {
"label": "Enter your email address",
"type": "email",
"required" : true,
"primary" : true
},
"field2" : {
"label": "Are you voting yes on may 5th?",
"type": "textinput",
"required" : true
},
"field3" : {
"label" : "So, you want a textarea hey?",
"type" : "textarea",
"rows" : 5,
"cols" : 20,
"required": true
},
"field4": {
"label" : "The overall label for multiple choice",
"options" : [
"First choice",
"Second Choice",
"Third Choice"
],
"type" : "radios",
"required": true
},
"field5" : {
"label" : "Whatever single checkbox, label",
"type" : "checkbox",
"required" : true
},
"field6": {
"label" : "This is our select",
"options": [
"First Choice",
"Second Choice",
"Third Choice"
],
"type" : "select",
"required" : true
}
}
}