Piloting
Hi all,
it seems like stupid questions and I think I did not quite grasp how the server installation works. I ran into some issues when piloting my experiment on our institute's Jatos server and hope you may have the answers for my problems.
- If I add a slightly changed component, is there a way to run the study again without using one of the older version of that component? I think this might be achieved using the component variables by e.g. by changing their IDs manually. However, I do not know where I would have to change these properties. In my experiment script (based on jspsych)? In Jatos directly?
- I also didn't manage to change the order in which the components are run manually. Only if they were in the correct order in my local installation already, the experiment was running in the intended order - the reason might be the same as above, I do not know where I would have to put the functions controlling the study flow.
- If I want to add a slightly different version of my experiment to the server as well, I could not upload another experiment as Jatos was noticing that the two studies are very similar . I was only allowed to keep my previous version and overwrite e.g. components. However, I would have wanted to keep them separate in order to easier compare some of the data. What would be the best way to do so?
Last but not least (and not really related): In one component I would like to enable reload of the page in principle but give a warning nevertheless when participants do so. What will I have to to in order to achieve this? Will clicking "allow reload" still allow me to trigger a warning if participants reload?
Thanks for your help!
Comments
Hi Penguin,
Answers below:
If I add a slightly changed component, is there a way to run the study again without using one of the older version of that component?
I didn't understand this. If you update the study on your server, you will always run the updated version.
I think this might be achieved using the component variables by e.g. by changing their IDs manually.
You can't change the component's ID. This is assigned by JATOS.
I also didn't manage to change the order in which the components are run manually.
You can change the order of the components by doing drag-and-drop. Hover your mouse over the components' number (on the very left of each row). You'll see a 4-pointed arrow. You can use that to drag the component in a different order. Your server-JATOS doesn't know about the existence of your local-JATOS so there's no reason you should be able to do this in one and not the other.
I do not know where I would have to put the functions controlling the study flow.
The functions allow you to go to a different component but if you want the same and linear study flow for all cases, simply change the order of the components.
I could not upload another experiment as Jatos was noticing that the two studies are very similar .
True. This is on purpose. The way to do this is to go to More -> Clone in your local JATOS. This will make a new study with a different UUID. You will now be able to modify that study minimally and import it on to the server.
I don't think I answered all your questions because I didn't understand 1. and 2. Hope this helps a bit.
Best
Elisa
And I can try to answer the last question:
In one component I would like to enable reload of the page in principle but give a warning nevertheless when participants do so. What will I have to to in order to achieve this? Will clicking "allow reload" still allow me to trigger a warning if participants reload?
The only way to do this is with the browser's 'beforeunload' event. You could achieve an warning message this way:
But with modern browsers you can't choose the warning text anymore - each browser has its own message.
And this warning is independent of the "allow reload" checkbox in JATOS.
Best,
Kristian
Hi Kristian, hi Elisa,
thanks for your answers and for making me aware of the possibility that the component order can easily be changed and that the beforeunload-functionality is independent of "allow reload" in Jatos.
I am sorry, that I posed some of my questions in such a way so that they were not understandable. I basically, wanted to know if there is a way of only adding a new component when I notice that some changes need to be made (while still leaving the older version on the server but not using it any more and thus not overwriting it.) It seems to me, that once the experiment is on the server, it is difficult to make small corrections or adjustments in the html-files and I was wondering what would be the best way to do so without having to import the whole study again.
Hi penguin!
Unfortunately there is no other way to edit a file right now with JATOS. We are aware that it would be a nice feature to be able to edit an HTML or JavaScript file in the browser and maybe in a future version we will add it.
Best,
Kristian