Skip to content
Discussion options

You must be logged in to vote

Hi @nickriches,

You can set the required parameter of a question in the questions array.

questions: [
    {
	prompt: () => String(jsPsych.timelineVariable(`sentence`)) +
              `<br>` +
              String(jsPsych.timelineVariable(`statement`)),  
	labels: likert_scale,
	required: true
    },
],

This is described in the description of the questions parameter in the survey-likert docs, but it is hard to spot.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nickriches
Comment options

Answer selected by nickriches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants