Accessing last trial data outside of a jspsych variable #1343
Unanswered
MelissaJEvans
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @MelissaJEvans, I think I need a little more information to understand what you are trying to do. Are you using dynamic parameters to set these variables? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
I'm currently trying to take what a participant enters as their response in a jsPsych-survey-text plugin to determine what trials they will see. I was trying to use jsPsych.data.getLastTrialData() to pull out their response, but then I couldn't then use that information to change a variable that exists outside of a jsPsych plugin variable.
I gather I cannot use jsPsych.data.getLastTrialData() in normal script, I need to use this fx within a jsPsych plugin, but can I manipulate a pre-existing variable within a jsPsych variable?
Apologies if that doesn't make much sense, let me know if I need to clarify.
Beta Was this translation helpful? Give feedback.
All reactions