Howdy, Stranger!

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

Supported by

Text input form for use with JATOS

Hello!

I'm trying to use form_text_input with my opensesame experiment in order to log a variable in the beginning of the study.

Currently, I'm attempting to use JATOS in order to run the experiment but it seems as though the form_text_input doesn't work with JATOS. Is there any alternative to using the text input or is there a potential way to fix this issue?

Thanks in advance for the help,
Surya Mani

Comments

  • Hi Surya,

    The form_text_input item is indeed not supported by OSWeb. (This is a limitation of OSWeb, not JATOS, which is the management tool.) If you want to collect basic multicharacter text input, you could do this by collecting a series of individual key presses. Not terribly elegant, but it will work. I attached an example experiment, which you can also run through the link below.

    Is this useful?

    Cheers!
    Sebastiaan

  • Thanks very much for the quick response! That should work!

  • Hey, I actually have the same problem as suryamani. Your idea is good Sebastiaan, but unfortunatly I dont' get how you did it. Could you please explain it to me?

    Thanks in advance!

    Cheers,

    Laura

  • I have the same problem with Osweb. I want to intergrate a sort of text input method, just like Laura.

    I would be very happy for any help Sebastiaan, on how you did your version.

    Greetings Samuel

  • For some reason some attachments got lost in a recent update to the forum. But here it is again, an improved version of multiple-character input for OSWeb!


  • Thank you Sebastiaan. We are so thankful for your work.

    Greetings.

  • Awesome, thank you!

    Best,

    Laura

  • Hi Sebastiaan,

    Would it be possible that you upload the "multichar-input.osexp" one more time. It seems that it has been removed.

    Thanks a lot for your help.

  • Indeed, we are having some forum troubles and some attachments got lost. But it should downloadable again now through the link above!

  • Thanks, that helps a lot.

  • Hey, I have one more question regarding the mulitchar-input.

    When I use the input for characters and numbers, there is always an 0 before my characters, f.e.

    The script is as following:

    How do I have to change it to get rid og the 0? If I just deleate the 0 after "slice" in line 5 it doesn't work. Any ideas anyone?

    Thanks in advance!

    Best,

    Laura

  • Hi Laura,

    That's a bug that's fixed in the latest version of OSWeb. If you upgrade opensesame-extension-osweb , this problem should go away.

    Cheers!

    Sebastiaan

  • It works, thank you!

    However, now I discovered another problem. The backspace is not working thw way I want it to work. When entering the code, I need the backspace to delete the last letter written (like in a Word document). But, when I upload the experiment and I press backspace when entering the code, it jumps to the website that was opened before I started the experiment. I don't get why, because when I try the experiment from OpenSesame in the Browser, it works perfectly fine..

    Thanks in advance!

    Laura

  • Hi Laura,

    When entering the code, I need the backspace to delete the last letter written (like in a Word document). But, when I upload the experiment and I press backspace when entering the code, it jumps to the website that was opened before I started the experiment. I don't get why, because when I try the experiment from OpenSesame in the Browser, it works perfectly fine..

    It sounds like the browser is capturing the backspace, and interprets it like you pressed the back button. I don't see this behavior, so I'm guessing it's browser specific. Does this happen in all browsers?

    Cheers!

    Sebastiaan

  • Hey everyone,

    I don't know if it helps, but I'm currently using a text input in my online experiment:

    It's definitely not as concise as Sebastiaan's, but it covers more corner cases and includes an arrow for participants. I've found that since the input doesn't have a blinking cursor, participants have a difficult time knowing when to type, especially with multiple inputs. I've also separated numeric and alphabetic inputs. Sebastiaan's is set for ~200 keypresses, but with a lot of inputs, some machines get very slow. Mine is only set to 35.

    For Laura, I've found for participants that use FireFox, backspace goes backward out of the forum because it is set for a 'one page back' function. FireFox cannot detect OSWeb's textbox, and thus chooses this function. It can be disabled, however.

    Regards,

    Rissa

  • Hey,

    thank you for the responses Rissa and Sebastiaan, I appreciate it!

    Do I have to disabele it in FireFox or in my script? If I have to do it in FireFox it would be a problem I think, because I can't make sure my participants do the same, so they would need to use a different browser, which is hard to control...

    Any recommendations how to deal with this problem? Maybe just assign a key to delete the last letter in OpenSesame and write it into the instructions?

    Best,

    Laura

  • Hey Laura,

    For FireFox, the instructions for disabling the backspace 'Back' function can be found here.

    What I recommend if you need input textboxes, is to tell participants to ONLY use Chrome (or safari, I think). If you're using a server with a program like JATOS, you can tell participants this information via email with the link attached. What I also send to my participants is a notice saying that if Chrome doesn't work (this may happen, for whatever reason) that the experiment can run in FireFox if they follow specific instructions (which I send in an additional email).

    It's probably not a good idea to use another button as the 'backspace' because individuals' familiarity with the keyboard means they'll instinctively press backspace by accident. This happened to one of my participants on FireFox when she was 3/4 of the way through the experiment.

    Here's another version of the text input with numbers and characters in the same instance:

    Although, if you go past 17 or so numerals without characters, weird notation starts to occur, so I put a cap on numeric input.

    I hope this helps.

    Regards,

    Rissa

  • Hey Rissa,

    the text input works perfectly fine, thank you!

    I also tried in in Chrome and so far the backspace doen'st make a problem there-

    Thank you agin for your help and advice!

    Best,

    Laura

Sign In or Register to comment.