-
Notifications
You must be signed in to change notification settings - Fork 7
/
QualtricsExample.qsf
1 lines (1 loc) · 8.23 KB
/
QualtricsExample.qsf
1
{"SurveyEntry":{"SurveyID":"SV_06w5Ku7JpLrmPAx","SurveyName":"DistributionBuilder Preview","SurveyDescription":null,"SurveyOwnerID":"UR_8HNsUBv4Xq1C36B","SurveyBrandID":"insead","DivisionID":null,"SurveyLanguage":"EN","SurveyActiveResponseSet":"RS_57JoMFau2H81LSt","SurveyStatus":"Active","SurveyStartDate":"0000-00-00 00:00:00","SurveyExpirationDate":"0000-00-00 00:00:00","SurveyCreationDate":"2016-11-12 02:26:34","CreatorID":"UR_8HNsUBv4Xq1C36B","LastModified":"2016-11-12 04:11:40","LastAccessed":"0000-00-00 00:00:00","LastActivated":"2016-11-12 02:29:04","Deleted":null},"SurveyElements":[{"SurveyID":"SV_06w5Ku7JpLrmPAx","Element":"BL","PrimaryAttribute":"Survey Blocks","SecondaryAttribute":null,"TertiaryAttribute":null,"Payload":[{"Type":"Default","Description":"DistributionBuilder","ID":"BL_8A1qQupvnjNcAGV","BlockElements":[{"Type":"Question","QuestionID":"QID1"}]},{"Type":"Trash","Description":"Trash \/ Unused Questions","ID":"BL_b89VG1W4bPgdUfb"}]},{"SurveyID":"SV_06w5Ku7JpLrmPAx","Element":"FL","PrimaryAttribute":"Survey Flow","SecondaryAttribute":null,"TertiaryAttribute":null,"Payload":{"Type":"Root","FlowID":"FL_1","Flow":[{"Type":"EmbeddedData","FlowID":"FL_3","EmbeddedData":[{"Description":"DistributionResult","Type":"Recipient","Field":"DistributionResult","VariableType":"Nominal"}]},{"Type":"Block","ID":"BL_8A1qQupvnjNcAGV","FlowID":"FL_2"}],"Properties":{"Count":3}}},{"SurveyID":"SV_06w5Ku7JpLrmPAx","Element":"SO","PrimaryAttribute":"Survey Options","SecondaryAttribute":null,"TertiaryAttribute":null,"Payload":{"BackButton":"false","SaveAndContinue":"true","SurveyProtection":"PublicSurvey","BallotBoxStuffingPrevention":"false","NoIndex":"Yes","SecureResponseFiles":"true","SurveyExpiration":"None","SurveyTermination":"DefaultMessage","Header":"<link href=\"https:\/\/cdn.jsdelivr.net\/gh\/QuentinAndre\/DistributionBuilder@master\/lib\/distributionbuilder.css\" rel=\"stylesheet\" \/><script src=\"https:\/\/cdn.jsdelivr.net\/gh\/QuentinAndre\/DistributionBuilder@master\/lib\/distributionbuilder.min.js\"><\/script>","Footer":"","ProgressBarDisplay":"None","PartialData":"+1 week","ValidationMessage":"","PreviousButton":" << ","NextButton":" >> ","SkinLibrary":"insead","SkinType":"MQ","Skin":"insead3","NewScoring":1,"libraryId":"","nextButtonMid":"","previousButtonMid":"","headerMid":"","footerMid":"","QuestionsPerPage":"","PageTransition":"None","ExternalCSS":"https:\/\/","CustomStyles":{"errorStyles":{"selector":".Skin .ValidationError","styles":{"color":null,"backgroundColor":null,"borderColor":null}},"errorStylesBG":{"selector":".Skin .HeaderValidationError, .Skin .HeaderValidationError li a","styles":{"color":null,"backgroundColor":null}},"pageStyles":{"selector":"#SurveyEngineBody","styles":{"backgroundColor":null}},"textStyles":{"selector":".SkinInner","styles":{"fontFamily":null,"fontSize":null,"fontWeight":null,"fontStyle":null,"textDecoration":null,"color":null}},"questionStyles":{"selector":".Skin .QuestionText","styles":{"fontFamily":null,"fontSize":null,"fontWeight":null,"fontStyle":null,"textDecoration":null,"color":null}},"choiceStyles":{"selector":".Skin .horizontalbar th.ylabel, .Skin .Matrix table td, .Skin .Matrix table th, .Skin .Matrix table thead th, .Skin .Matrix table thead td, .Skin .PGR .DragAndDrop .Items label, .Skin .QuestionBody ul.ChoiceStructure, .Skin .PGR .DragAndDrop .Group ul, .Skin .PGR .DragAndDrop .Group h2, .Skin .PGR .DragAndDrop .Items ul, .Skin .PGR .DragAndDrop .Items h2, .Skin .DD .QuestionBody table.ChoiceStructure, .Skin .PGR .DragAndDrop .NoColumns td.groupsContainerTd div ul, .Skin .PGR .DragAndDrop .NoColumns td.groupsContainerTd div h2, .Skin .SBS thead th, .Skin .SBS td, .Skin .SBS .Answers td, .Skin .SBS .Answers th, .SBS table.ChoiceStructure, .Skin .horizontalbar thead table.LabelDescriptions tr td, .Skin .horizontalbar thead tr td.NotApplicable, .QuestionBody th, .Skin .QuestionBody .MC .MAVR label, .Skin .QuestionBody .MC .SAVR label, .Skin .SBS thead th, .Skin .SBS td, .Skin .RO .DND ul li, .Skin .reg, .SkinInner .ChoiceStructure, .Skin thead, .Skin .GAP .ChoiceStructure thead th, .Skin .GAP .ChoiceStructure .c4, .Skin .GAP .ChoiceStructure th, .Skin .GAP .ChoiceStructure .WhyText, .SkinInner .ChoiceStructure .LightBG, .Skin .QuestionOuter.Highlight .Inner .reg, .Skin .QuestionOuter.Highlight .Inner .alt, .Skin .QuestionOuter.Highlight .Inner .ReadableAlt ","styles":{"fontFamily":null,"fontSize":null,"fontWeight":null,"fontStyle":null,"textDecoration":null,"color":null}},"headerStyles":{"selector":".Skin div#Header","styles":{"color":null}},"footerStyles":{"selector":".Skin #Footer","styles":{"color":null}},"questionSeparatorStyles":{"selector":".Skin .Separator","styles":{"backgroundColor":null,"display":null}},"highlightStyles":{"selector":".Skin .QuestionOuter.Highlight .Inner, .Skin .QuestionOuter.Highlight .Inner .reg, .Skin .QuestionOuter.Highlight .Inner .alt, .Skin .QuestionOuter.Highlight .Inner .ReadableAlt","styles":{"backgroundColor":null}},"highlightStylesAlt":{"selector":".Skin .QuestionOuter.Highlight .Inner .ReadableAlt, .Skin .QuestionOuter.Highlight .Inner .LightBG","styles":{"backgroundColor":null}},"textEntryStyles":{"selector":".Skin select, .Skin .InputText","styles":{"color":null}},"borderStyles":{"selector":".Skin .CS .horizontalbar table.sliderGrid tr.xlabel th, .Skin .CS .horizontalbar .ylabel, .Skin .CS .horizontalbar table.sliderGrid tr td.value, .Skin .Slider .horizontalbar table.sliderGrid tr.xlabel th, .Skin .BorderColor, .Skin .DarkBorderColor, .Skin .Slider .horizontalbar table.sliderGrid tr td.value, .Skin thead, .Skin .GAP .ChoiceStructure thead th ","styles":{"borderColor":null}},"altRowStyles":{"selector":".Skin .ReadableAlt, .Skin .LightBG","styles":{"backgroundColor":null}},"customCSS":null},"HighlightQuestions":"off"}},{"SurveyID":"SV_06w5Ku7JpLrmPAx","Element":"SCO","PrimaryAttribute":"Scoring","SecondaryAttribute":null,"TertiaryAttribute":null,"Payload":{"ScoringCategories":[],"ScoringCategoryGroups":[],"ScoringSummaryCategory":null,"ScoringSummaryAfterQuestions":0,"ScoringSummaryAfterSurvey":0,"DefaultScoringCategory":null,"AutoScoringCategory":null}},{"SurveyID":"SV_06w5Ku7JpLrmPAx","Element":"STAT","PrimaryAttribute":"Survey Statistics","SecondaryAttribute":null,"TertiaryAttribute":null,"Payload":{"MobileCompatible":true,"ID":"Survey Statistics"}},{"SurveyID":"SV_06w5Ku7JpLrmPAx","Element":"QC","PrimaryAttribute":"Survey Question Count","SecondaryAttribute":"1","TertiaryAttribute":null,"Payload":null},{"SurveyID":"SV_06w5Ku7JpLrmPAx","Element":"SQ","PrimaryAttribute":"QID1","SecondaryAttribute":"\u00a0 Submit the distribution","TertiaryAttribute":null,"Payload":{"QuestionText":"<div id=\"targetdiv\"> <\/div>\n<a class=\"btn btn-default\" id=\"SubmitDistribution\" disabled=true>Submit the distribution<\/a>","QuestionJS":"Qualtrics.SurveyEngine.addOnReady(function()\n{\n\t\/\/ Hide Qualtrics' 'Next' button.\n\t$j(\"#NextButton\").hide();\n\t\n\t\/\/ Create the distribution builder, with a function to enable\/disable the 'Submit Distribution' button.\n\tvar distbuilder = new DistributionBuilder({onChange: function () {\n if (this.isComplete()) {\n $j(\"#SubmitDistribution\").attr(\"disabled\", false)\n } else {\n $j(\"#SubmitDistribution\").attr(\"disabled\", true)\n }\n\t}});\n\tdistbuilder.render(\"targetdiv\");\n\tdistbuilder.labelize({labels:[\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\"]});\n\t\n\t\/\/ Bind a function to store the results to the '#SubmitDistribution' button.\n\t$j(\"#SubmitDistribution\").click(function () {\n \tvar results = distbuilder.getDistribution().join()\n\t\t\/\/ Store the data in the \"DistributionResult\" embedded data field, check the 'SurveyFlow'\n \t\tQualtrics.SurveyEngine.setEmbeddedData(\"DistributionResult\", results);\n\t\t$j(\"#NextButton\").click();\n\t});\n\t\n});","DefaultChoices":false,"DataExportTag":"Question","QuestionID":"QID1","QuestionType":"DB","Selector":"TB","Configuration":{"QuestionDescriptionOption":"UseText"},"QuestionDescription":"\u00a0 Submit the distribution","ChoiceOrder":[],"Validation":{"Settings":{"Type":"None"}},"GradingData":[],"Language":[]}},{"SurveyID":"SV_06w5Ku7JpLrmPAx","Element":"RS","PrimaryAttribute":"RS_57JoMFau2H81LSt","SecondaryAttribute":"Default Response Set","TertiaryAttribute":null,"Payload":null}]}