Survey-Multi-Choice: Show one question per page #2713
-
Hi, apologies if this is a trivial question, I'm a bit new to jsPsych! I am trying to figure out the best way to use the survey-multi-choice plug-in to show one question per page, rather than list all the questions on one page. Here is an example of a block of questions that I am working with. I have similar sets of questions for 7 other videos. Are there any helpful hints for modifying the survey-multi-choice plug-in or is there an easier solution using the current parameters as they are that I am not seeing? Thanks so much in advance!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @steventmartinez, To get the questions on separate pages the simplest thing is just to split it up into multiple trials. var video1_questions_1 = {
type: jsPsychSurveyMultiChoice,
questions: [
{prompt: "<p><div style ='font-size:30px;'>What time did the fire start?</div></p>",
name: 'Question1',
options: ['2:30AM', '4:00AM', '8:30PM', '2:00PM'],
required: true,
},
]
}
var video1_questions_2 = {
type: jsPsychSurveyMultiChoice,
questions: [
{prompt: "<p><div style ='font-size:30px;'>Where in Baltimore County did this fire take place?</div></p>",
name: 'Question2',
options: ['Owings Mills', 'Hampton', 'Overlea', 'Crofton'],
required: true,
},
]
}
// ... etc ... If you want to group these questions together for developer organization then you can use a nested timeline. |
Beta Was this translation helpful? Give feedback.
Hi @steventmartinez,
To get the questions on separate pages the simplest thing is just to split it up into multiple trials.