Skip to content
Discussion options

You must be logged in to vote

Hi @y-j-huang ,

It looks like your timeline variables array is not quite right. You've currently got it as:

var practice_info = [
	{
		questions: [
			{prompt: "I like vegetables", name: 'Vegetables', options: ["Yes", "No"],  correct_response: "Yes", required: true}
		]
	},
	{
		questions: [
			{prompt: "I like fruits", name: 'Fruits', options: ["Yes", "No"], correct_response: "Yes", required: true}
		]
	}
];

I added some indentation to make the structure of the variable clear. With this structure there is only 1 timeline variable per trial: questions. Everything else is nested within the questions variable.

You'll want to move the correct_response option out of this variable:

var practic…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@y-j-huang
Comment options

@jodeleeuw
Comment options

@y-j-huang
Comment options

Answer selected by y-j-huang
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