Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

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:

    jatos.onLoad(function () {
       if (!jatos.componentProperties.reloadable) {
          window.addEventListener("beforeunload", beforeUnloadListener, { capture: true });
       }
    });
    
    var beforeUnloadListener = function (event) {
       event.preventDefault();
       // Most browsers do not show this message but a standardized one
       event.returnValue = "Are you sure you want to leave?";
    };
    

    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

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games