Howdy, Stranger!

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

Supported by

[solved] "Type Here" in text_input Form

edited October 2013 in OpenSesame

Hello everyone!

I am new to OpenSesame and I am currently trying to build an experiment, in which letters are being presented for a very short time span (10ms - 200ms). Following this letter presentation, participants are to type in all letters they can recall. For this response, I use the OpenSesame form Text_input. Alas, I have a problem with this form: Before you type in your answer, the statement "type here" is shown for a very brief moment. I find this rather disturbing, especially if I am confronted with appearing stimuli all the time. I would like to know if I can remove this statement from the form. I have not found the phrase "Type here" in the corresponding script to the text_input form, so I have no clue why it appears.
I have also tried to build my own text input form using Python inline script with the "widgets.text_input" funtion, but in this case I do not like that I have to click into the box to type in the text (and up to now I was also not able to log and save the response that was typed in - if anyone can help me with this I would also be interested; I know that i can use the self.log function to log data, but I really do not know which variable is the one to log in in this case).
However, I would especially appreciate any help concerning the "Type here" problem. Thank you!

Comments

  • edited 12:56PM

    Hi,

    The default value of the text_input option stub is "Type here...". To change this, for example into an empty string, simply add this keyword option, with the desired value, to your text_input widget:

    widget 0 2 1 1 text_input focus="yes" stub="" return_accepts="yes" var="[form_var]"
    

    For more information on text_input options, see:

    Cheers,

    Lotje

  • edited October 2013

    Wow, thanks a lot, it just worked like I had hoped :-)

  • edited 12:56PM

    Good to hear! :)
    Let us know if you have any further questions!

Sign In or Register to comment.