Replies: 1 comment 1 reply
-
Hi @Kedersha! |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
ETA: please disregard, I think I've figured this out; see discussion on the JATOS forum.
(Also posted on JATOS forum here.)
Hi! I'm writing a study in jsPsych and JATOS, and at several points we want to be able to end the study based on users' responses (failing to consent, sharing information that makes them ineligible to participate). JsPsych and JATOS both theoretically have methods for displaying a page after the study is over, explaining to participants why they've been abruptly booted.
However, the simple html page I wrote (endPage.html, according to what JATOS docs suggested) just flashes on the screen for less than a second before the tab closes; the same happens if I use jsPsych.endExperiment() to show that same message.
Is there a way to keep a message up until the user closes the tab? Have you seen this behaviour before?
Relevant code snippets... JATOS endStudy calls:
A sample trial that ends study early:
Beta Was this translation helpful? Give feedback.
All reactions