{ "survey" : { "layout" : "card", "start": { "labelCaption": "Start Section Label Caption", "description": "Start Section Description", "sectionTitle": "Start Section Title"}, "sections" : [ { "title" : "Participant Visit", "header" : true, "collapsible" : true, "defaultLabelWidth" : 175, "questions" : [ { "required": true, "jsonType": "string", "width": 350, "inputType": "text", "name": "participantid", "caption" : "Participant ID:", "shortCaption" : "Participant ID" }, { "name" : "Birthdate", "caption" : "When is your birthday?", "jsonType" : "date", "inputType" : "text", "width" : 350 }, { "extConfig": { "xtype": "radiogroup", "margin": "0px 0px 10px 10px", "width" : 250, "fieldLabel": "Gender?", "name": "Gender", "columns": 2, "items": [ { "boxLabel": "Male", "name": "Gender", "inputValue": false }, { "boxLabel": "Female", "name": "Gender", "inputValue": true } ] } }, { "extConfig": { "xtype": "displayfield", "fieldLabel": " " } }, { "name" : "Hungry", "caption" : "Check the box if you are hungry.", "hidden" : false, "jsonType" : "boolean", "inputType" : "text", "required" : true, "width" : 500 } ] }, { "title" : "Page 2: fast food", "header" : true, "collapsible" : true, "defaultLabelWidth" : 265, "questions" : [ { "extConfig": { "xtype": "displayfield", "value": "Supersize it?: ___, Fries with that?: ___" } }, { "extConfig": { "xtype": "displayfield", "labelWidth": 800, "fieldLabel": "1. Dollar Menu:" } }, { "required": true, "extConfig": { "xtype": "radiogroup", "fieldLabel": "Can I take your order?", "name": "Placeyourorderradio", "columns": 5, "items": [ { "boxLabel": "2 Apple pies", "name": "glomerulitis_g", "inputValue": 0, "width": 100 }, { "boxLabel": "Junior Cheeseburger", "name": "glomerulitis_g", "inputValue": 1, "width": 100 }, { "boxLabel": "Large Fries", "name": "glomerulitis_g", "inputValue": 2, "width": 100 }, { "boxLabel": "Cholesterol on a stick", "name": "glomerulitis_g", "inputValue": 3, "width": 100 }, { "boxLabel": "Angioplasty", "name": "glomerulitis_g", "inputValue": -1, "width": 100 } ] } }, { "extConfig": { "xtype": "textarea", "name": "otherfindings", "width": 800, "height": 100, "fieldLabel": "15. Other Findings:" } }, { "extConfig": { "xtype": "fieldcontainer", "margin": "0px 0px 10px 10px", "hideFieldLabel": true, "name": "fieldcontainer", "layout": "hbox", "width": 300, "items": [ { "xtype": "checkbox", "name": "extra ketchup?", "boxLabel": "Extra Ketchup", "width": 125 }, { "xtype": "checkbox", "name": "extra napkins", "boxLabel": "extra napkins", "width": 125 } ] } } ] } ] } }