Showing or Hiding Subsequent Survey Pages Based Upon Answers in Previous Survey Pages #3143
-
Goal & QuestionThis simple demonstration should generate a survey using jsPsych that ideally displays one or two screens, depending upon the choices made by the participant. It calls just one plugin, EditA solution was found for the previously referenced related question using conditional functions, [as outlined in the Conditional Timelines portion of the 'Creating an Experiment' tutorial]{https://www.jspsych.org/7.0/overview/timeline/#conditional-timelines}. As such, in a pinch, a person could likely just generate multiple Example CodeI believe this example should be reproducible and demonstrate my issue. Thanks for your time and effort!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is one solution that seemed to work, instead using conditional functions and swapping out the survey functions for html button response and survey text:
|
Beta Was this translation helpful? Give feedback.
This is one solution that seemed to work, instead using conditional functions and swapping out the survey functions for html button response and survey text: