Skip to content
Discussion options

You must be logged in to vote

I have created a minimal example of what I think you want to achieve using only the jsPsychHtmlButtonResponse components. It is based on the concept of condition timelines..

The basic idea is that you have two trials, select and continue_trial, which can in principle occur 8 times across 4 blocks. These two trials are added in a timeline to blockTrial. This trial has a conditional function, which is executed right before the start of its corresponding timeline. The timeline will only be executed if this function returns true. This should happen on the first trial of a block, or if the response to the last question was to read more opinions. This function needs the currentBlockTrial variab…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by 1nathanliang
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