-
-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to randomize question order in survey plugins #305
Comments
This, and many other fine-control features could be easily achieved if the trial could be parameterized by a list of objects describing each question, e.g. (in coffee script) bridge_quiz =
kind: 'survey-multi-choice'
items: jsPsych.randomization.shuffle [
question: 'What is your name?'
options: ['Sir Arthur', 'That guy who gets eaten by the rabbit']
required: true
,
question: 'What is your quest?'
options: ['To seek the holy grail', 'Ummm...']
required: true
,
question: 'What is your favorite color?'
options: ['Blue', 'No, yellow!']
required: false
] Something else that would be easier with this style would be assigning different questions to different conditions. For backwards compatibility and general flexibility, I would advocate allowing either input style. This kind of polymorphism is by no means unheard of. |
Wow, that looks great! I will make one suggestion to include an optional "correct" field. This streamlines a common use case for forms: quizzes to test participant comprehension of instructions. |
Great idea. @GavinQ1, is that something you can do now, or should we wait? |
@jodeleeuw Sure but probably next week? I need to prepare for finals this week. |
No rush, just wanted to get it on the list! Thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: