multiSurvey

Builds a multi choice/select survey trial.
Source:
Parameters:
Name Type Description
options Object
Name Type Description
responseType string This tells jsPsych which plugin file to use to run the trial. (default: surveyMultiChoice from "@jspsych/plugin-survey-multi-choice")
preamble string HTML formatted string to display at the top of the page above all the questions. (default: "")
prompts Array The question prompts, an Array of strings (default: [])
ansChoices Object Object consisting of the key as the answer choice name and value as the array of answer choices. (default: {})