You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi to all!
I'm quite new to coding with Javascript and was trying to adapt an experiment. In the experiment (a digit span task, this one here), the participant is presented a series of digits and then asked to recall the digits in the correct order. I want the experiment to continue to the next part of the experiment once the participant has recalled a series of digits incorrectly. I've found some information suggesting jsPsych.endCurrentTimeline(); but implementing this ends the entire experiment:
Additionally, I then tried to split up the timeline into multiple timelines so that only the corresponding timeline is stopped by jsPsych.endCurrentTimeline(). But this throws the following error: "Trial level node is missing the "type" parameter. The parameters for the node are: ..."
This is the part of the code that I changed:
I've found some similar questions with jsPsych.endCurrentTimeline() on here but unfortunately I still can't figure out how to fix the issue. Maybe someone on here knows how to help, I would appreciate it!
Thanks so much in advance!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi to all!
I'm quite new to coding with Javascript and was trying to adapt an experiment. In the experiment (a digit span task, this one here), the participant is presented a series of digits and then asked to recall the digits in the correct order. I want the experiment to continue to the next part of the experiment once the participant has recalled a series of digits incorrectly. I've found some information suggesting jsPsych.endCurrentTimeline(); but implementing this ends the entire experiment:
Additionally, I then tried to split up the timeline into multiple timelines so that only the corresponding timeline is stopped by jsPsych.endCurrentTimeline(). But this throws the following error: "Trial level node is missing the "type" parameter. The parameters for the node are: ..."
This is the part of the code that I changed:
I've found some similar questions with jsPsych.endCurrentTimeline() on here but unfortunately I still can't figure out how to fix the issue. Maybe someone on here knows how to help, I would appreciate it!
Thanks so much in advance!
Beta Was this translation helpful? Give feedback.
All reactions