How to quit on Jatos
Hi,
I would like to know how to allow participants to quit the experiment on Jatos without losing the data that has already been recorded.
To explain further: We are designing a series of tasks on Jatos, where participants can perform different tasks in sequential order. We also provide an option for participants to exit the session, including an "exit" button. However, we have noticed that if a participant completes Task 1 and then decides to quit during Task 2, we lose all the data collected (including data from Task 1).
Is it possible to allow participants to exit the session whenever they want while retaining the data from the previously completed tasks?
Thanks
Denise
Comments
Hi Denise,
I guess you use jatos.addAbortButton() or jatos.abortStudy()? Those functions are especially designed to allow participants to cancel an experiment and delete all recorded data. Those functions are probably not what you are looking for. You would have an "exit" button and on clicking call one of the 'normal' end functions: jatos.endStudy() or jatos.endStudyAndRedirect(). You can find more about the different jatos.js function and their use under https://www.jatos.org/jatos.js-Reference.html.
Best,
Kristian
Hi, just adding to that response, that I think didn't really answer your question.
You can (and probably should) submit data to JATOS not only at the very end of the study but also in between. Not too often though (not on every trial), as that will overload the server.
How and when to do it depends on how you wrote your JavaScript though. See the docs for submit and append result data
Many thanks!