From 06748df6774c693bc135953fe3963a0d0cce2c98 Mon Sep 17 00:00:00 2001 From: Ana Neves Date: Wed, 18 Dec 2024 15:54:21 +0000 Subject: [PATCH] uncommetted demographic questions and image ratings --- study2/experiment/demographics.js | 210 +++++++++++++++--------------- study2/experiment/fiction.js | 2 +- study2/experiment/index.html | 2 +- 3 files changed, 107 insertions(+), 107 deletions(-) diff --git a/study2/experiment/demographics.js b/study2/experiment/demographics.js index 0fd96f3..767ca1e 100644 --- a/study2/experiment/demographics.js +++ b/study2/experiment/demographics.js @@ -113,119 +113,119 @@ var demographics_questions = { isRequired: true, colCount: 0, }, - // { - // type: "text", - // title: "Please enter your age (in years)", - // name: "Age", - // isRequired: true, - // inputType: "number", - // min: 0, - // max: 100, - // placeholder: "e.g., 21", - // }, + { + type: "text", + title: "Please enter your age (in years)", + name: "Age", + isRequired: true, + inputType: "number", + min: 0, + max: 100, + placeholder: "e.g., 21", + }, ], }, { elements: [ - // { - // title: "What is your highest completed education level?", - // name: "Education", - // type: "radiogroup", - // choices: [ - // { - // value: "Doctorate", - // text: "University (doctorate)", - // }, - // { - // value: "Master", - // text: "University (master)", // "or equivalent", - // }, - // { - // value: "Bachelor", - // text: "University (bachelor)", // "or equivalent", - // }, - // { - // value: "High school", - // text: "High school", - // }, - // { - // value: "Elementary school", - // text: "Elementary school", - // }, - // ], - // showOtherItem: true, - // otherText: "Other", - // otherPlaceholder: "Please specify", - // isRequired: true, - // colCount: 1, - // }, - // { - // visibleIf: - // "{Education} == 'Doctorate' || {Education} == 'Master' || {Education} == 'Bachelor'", - // title: "What is your discipline?", - // name: "Discipline", - // type: "radiogroup", - // choices: [ - // "Arts and Humanities", - // "Literature, Languages", - // "History, Archaeology", - // "Sociology, Anthropology", - // "Political Science, Law", - // "Business, Economics", - // "Psychology, Neuroscience", - // "Medicine", - // "Biology, Chemistry, Physics", - // "Mathematics, Physics", - // "Engineering, Computer Science", - // ], - // showOtherItem: true, - // otherText: "Other", - // otherPlaceholder: "Please specify", - // }, - // { - // visibleIf: - // "{Education} == 'High school' || {Education} == 'Master' || {Education} == 'Bachelor'", - // title: "Are you currently a student?", - // name: "Student", - // type: "boolean", - // swapOrder: true, - // isRequired: true, - // }, + { + title: "What is your highest completed education level?", + name: "Education", + type: "radiogroup", + choices: [ + { + value: "Doctorate", + text: "University (doctorate)", + }, + { + value: "Master", + text: "University (master)", // "or equivalent", + }, + { + value: "Bachelor", + text: "University (bachelor)", // "or equivalent", + }, + { + value: "High school", + text: "High school", + }, + { + value: "Elementary school", + text: "Elementary school", + }, + ], + showOtherItem: true, + otherText: "Other", + otherPlaceholder: "Please specify", + isRequired: true, + colCount: 1, + }, + { + visibleIf: + "{Education} == 'Doctorate' || {Education} == 'Master' || {Education} == 'Bachelor'", + title: "What is your discipline?", + name: "Discipline", + type: "radiogroup", + choices: [ + "Arts and Humanities", + "Literature, Languages", + "History, Archaeology", + "Sociology, Anthropology", + "Political Science, Law", + "Business, Economics", + "Psychology, Neuroscience", + "Medicine", + "Biology, Chemistry, Physics", + "Mathematics, Physics", + "Engineering, Computer Science", + ], + showOtherItem: true, + otherText: "Other", + otherPlaceholder: "Please specify", + }, + { + visibleIf: + "{Education} == 'High school' || {Education} == 'Master' || {Education} == 'Bachelor'", + title: "Are you currently a student?", + name: "Student", + type: "boolean", + swapOrder: true, + isRequired: true, + }, ], }, { elements: [ - // { - // title: "How would you describe your ethnicity?", - // name: "Ethnicity", - // type: "radiogroup", - // choices: [ - // "White", - // "Black", - // "Hispanic/Latino", - // "Middle Eastern/North African", - // "South Asian", - // "East Asian", - // "Southeast Asian", - // "Mixed", - // "Prefer not to say", - // ], - // showOtherItem: true, - // otherText: "Other", - // otherPlaceholder: "Please specify", - // isRequired: false, - // colCount: 1, - // }, - // { - // title: "In which country are you currently living?", - // name: "Country", - // type: "dropdown", - // choicesByUrl: { - // url: "https://surveyjs.io/api/CountriesExample", - // }, - // placeholder: "e.g., France", - // isRequired: false, - // }, + { + title: "How would you describe your ethnicity?", + name: "Ethnicity", + type: "radiogroup", + choices: [ + "White", + "Black", + "Hispanic/Latino", + "Middle Eastern/North African", + "South Asian", + "East Asian", + "Southeast Asian", + "Mixed", + "Prefer not to say", + ], + showOtherItem: true, + otherText: "Other", + otherPlaceholder: "Please specify", + isRequired: false, + colCount: 1, + }, + { + title: "In which country are you currently living?", + name: "Country", + type: "dropdown", + choicesByUrl: { + url: "https://surveyjs.io/api/CountriesExample", + }, + placeholder: "e.g., France", + isRequired: false, + }, ], }, { diff --git a/study2/experiment/fiction.js b/study2/experiment/fiction.js index 3c99806..10d2e40 100644 --- a/study2/experiment/fiction.js +++ b/study2/experiment/fiction.js @@ -357,7 +357,7 @@ var fiction_phase1b = { fiction_cue, fiction_fixation1b, fiction_showimage1, - // fiction_ratings1, + fiction_ratings1, ], } diff --git a/study2/experiment/index.html b/study2/experiment/index.html index a5127d6..1086949 100644 --- a/study2/experiment/index.html +++ b/study2/experiment/index.html @@ -137,7 +137,7 @@ fiction_cue, fiction_fixation1b, fiction_showimage1, - // fiction_ratings1, + fiction_ratings1, ], }) timeline.push(fiction_feedback1)