Replies: 1 comment 1 reply
-
|
Yes. Make The external-html plugin defines const feedback_trial = {
type: jsPsychExternalHtml,
url: () => {
return score >= 80 ? "feedback-high.html" : "feedback-low.html";
},
cont_btn: "continue"
};If the score is produced by an earlier trial, store it in a variable or read it from |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Dear All,
I have an experiment where the user gets custom scores for each answer they give, and in the end I have four different pages with feedback depending on the range that they scored. Would it be possible to do something like the following?
var player_score;
var trial = {
type: jsPsychExternalHtml,
url: ${player_score},
cont_btn: "start",
check_fn: check_consent
};
Best Regards,
George
Beta Was this translation helpful? Give feedback.
All reactions