Howdy, Stranger!

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

Supported by

Need help

Hi,

I hope everyone is all right.

Please bear with me as I am an absolute beginner but had to design a study on OpenSesame for my end of year project.

Anyway, I'd first like to know if it is possible to add a hyperlink on my debrief form so participants can click on it and be directed to services?

I also need to add a free recall task. From one I could get on the different threads; it is done through the text_input plug-in. My question is the following: is it possible to add a table for participants to fill in within the text_input function?

Furthemore, can I use the return_accepts function as a way to go onto the next line, instead of closing the form?


Thanks in advance,


Have a nice day,


Julien.

Comments

  • FabFab
    edited February 2022

    Hi @Julien,

    The answer to your first question depends on how you're running your experiment. If you're running it online as a JATOS experiment, you can set up the parameters of your study on JATOS to redirect participants to a specific URL once the experiment is completed.

    Alternatively, if you're running your experiment online or execute it within a browser, you can use this bit of Javascript code in an inline_javascript object:

    var surveyUrl = 'http://www.google.com';
    try {
    jatos.endStudyAndRedirect(surveyUrl);
    } catch {
    // for testing without Jatos ('Run in browser')
    window.open(surveyUrl);
    }
    

    If you're running your task in Open Sesame, that Javascript would not work and you could use Python code instead (in an inline_script object):

    import webbrowser
    webbrowser.open('http://www.google.com')
    

    Regarding your second question, I don't think the form input method current allows the collection of several responses as you describe it. Any solution to emulate that would require some programming but would vary as a function of whether you're planning to run your task in OS or through a browser. One option for a free recall task would be to use one form_text_input object:

    and then use Javascript code to parse the string entered by participants to separate the words. For example, this code would parse the string and separate strings separated by a space and output them to the console:

    let words = vars.freerecallresponse.split(' ')
    for (let i in words) {
    vars.set('word' + i, words[i])
    console.log('word' + i + ' = ' + words[i])
    }
    

    Another option is to use a single form_text_input object and do the parsing and processing of the different words offline from your data log file (in Excel, for example).

    Hope this helps!

    Fabrice.

    PS: there is a previous post describing how to obtain several responses from the same screen using multiple character input that could potentially be adapted to obtain something like the table on screen you described, but it is fairly cumbersome and involves quite a bit of coding. Still, if you want togo down that route, you can find the post here: https://forum.cogsci.nl/discussion/4737/text-input-form-for-use-with-jatos/p1

    Buy Me A Coffee

  • Hi @Fab !

    I am with family right now so I'll have a look to your reply later on, but I just wanted to thank you for the thorough reply you have provided me with!!

    You are a legend!

  • Hi @Fab

    Sorry but can you clarify what is and where can I find the inline_script object ?


    Regarding the parsing plug in, it seems that I don't have it on my OS (see files enclosed)

    I thought what I wangted to do was simple lol, turned out it is more complicated that it looks.


    Many thanks,


    Julien.

  • @Fab


    I found the inline_script object :-)

  • Hi @Julien,

    There is no parsing plug-in. Parsing is just the process of separating a string into parts. It is done using code. So, in the case of a verbal recall task, one way is to get the participant to write all the words separated by some symbol (simplest is using a space), and then use code to process that string and separate the words to save them individually, score the responses etc.

    Best,

    Fabrice.

    Buy Me A Coffee

  • Hi @Fab

    hope everything is alright with you.

    So, I have managed to do exactly what I wanted to do with the text_input form (except the parsing/splitting bits, which I think that I desperately need? or don't I? I am lost lol). I actually don't mind doing the parsing offline as you suggested.

    Now, my question is how do I log the multiple responses though? putting a logger behind the text_input form doesn't seem to do anything and my data looks quite confusing.


    Many thanks,


    Julien.

  • Hi @Julien,

    I think you'd need the parsing to score the responses.

    Regarding that issue, as regarding that of the logging of the responses, it would be easier to advise you if I could see how your task is structured. Could you possibly upload it to this forum?

    Best,

    Fabrice.

    Buy Me A Coffee

  • Hi @Fab

    I found a way to do it... Well, it is not really a way on Opensesame, but I'll just sort the data out manually and set them up on an excel sheet.


    But in case if you can give me any advice, there you go :-)

    My tutor also advised me to do a between-participants design instead of a within-participants design. So, I assumed I had to do two separate OS file?

    Just a quick question, if I wanted to counterbalance the order of the two recall phases, how would I do it in OS?

    Can't thank you enough for your help and your time,

    Julien.

    BTW I know that my OS design isn't the best but it seems to work for what I am trying to investigate.

  • @Fab I found how to counterbalance the order of the two recall phases :-)

    So do not bother about that.


    Now if you manage to run my experiment you may have notice how slow it is to type answer in the text_input form. Is it a way to speed up the typing process?


    I guess it is because there are a lot of written information in the script?


    Many thanks,


    Julien.

  • Hi @Julien,

    I had a quick look at your experiment. The presentation of the sentences works, though personally I would have used a loop with 5 cycles to display the sentences, and a loop to display the math problems. the way you set it works, but if you want to change the sentences or problems, you end up having to go update lots of different sketchpads instead of a single loop table. At the same time, you then use loops with a single cycle to gather the subject's responses in the sentences task. Not sure why you opted to put that in a loop.

    I also noticed that you're not logging the responses to the math problems. not. Maybe it is intentional, but if it is not (if you want to record the responses to the math problems to check if the answers are correct, you need to log them).

    As for the counterbalancing, I'm not sure how you solved it. Perhaps you built two separate OS programs. I'm not sure what variable you are counterbalancing in your experiment, but personally I'd rather program one single task and control the counterbalancing within the program (how to do that would depend on what factor you are planning to counterbalance).

    I'm not sure what you are referring to when you say that typing the answers is very slow. When I tried it, I could type normally, without any delay of any sort. is the slowing systematic on your computer? Do you observe it if you run the experiment on a different computer?

    Best,

    Fabrice.

    Buy Me A Coffee

  • Hi @Fab


    first thank you so much for the time you spent to help me out. I really appreciate it.


    now I’d love to use the loop with 5 cycles, but how do I do that ? I just want the sentences to be displayed only once. Will it work with a loop ?


    yes I am not really bothered with the replies of the math problem but maybe I should. If I manage to do the loop with cycles as you suggested, I’ll log the answer ;-).

    after talking with my tutor, counterbalancing wont be necessary anymore as I had to do two experiments to fit a between groups design.


    well it may be due to your computer but mine was so slow when I try to type. It got better by splitting up the sentences by 5 instead of ten. The thing is that I have to put the experiment in the forum students website so students can participate from their computer. And I assume that they won’t have the best machine with great performance to run my experiment. And I want to avoid getting them frustrated with the slow typing issue.


    many thanks @Fab


    Julien

  • @Fab after playing around I managed to do what you suggested :-) and tbh it is way better than the way I have done it.


    Thank you very much, now there is still the issue of typing being slowed down.

  • @Fab

    Apparently, the number of elements on the form may impact the typing speed.

    The speed with which the form is rendered is directly proportional to the total surface of all its elements.

    So I think thats' why.

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