Skip to content

Commit

Permalink
uncommetted demographic questions and image ratings
Browse files Browse the repository at this point in the history
  • Loading branch information
AnafNeves committed Dec 18, 2024
1 parent d5f7e1a commit 06748df
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 107 deletions.
210 changes: 105 additions & 105 deletions study2/experiment/demographics.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)", // "<sub><sup>or equivalent</sup></sub>",
// },
// {
// value: "Bachelor",
// text: "University (bachelor)", // "<sub><sup>or equivalent</sup></sub>",
// },
// {
// 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)", // "<sub><sup>or equivalent</sup></sub>",
},
{
value: "Bachelor",
text: "University (bachelor)", // "<sub><sup>or equivalent</sup></sub>",
},
{
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,
},
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion study2/experiment/fiction.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ var fiction_phase1b = {
fiction_cue,
fiction_fixation1b,
fiction_showimage1,
// fiction_ratings1,
fiction_ratings1,
],
}

Expand Down
2 changes: 1 addition & 1 deletion study2/experiment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
fiction_cue,
fiction_fixation1b,
fiction_showimage1,
// fiction_ratings1,
fiction_ratings1,
],
})
timeline.push(fiction_feedback1)
Expand Down

0 comments on commit 06748df

Please sign in to comment.