Millisecond Forums

How to add a textbox (white frame) to my text?

https://forums.millisecond.com/Topic19369.aspx

By Loli - 7/7/2016

Dear all,

My experiment contains different instruction pages within the different experimental phases. After one certain instruction page, I don't want participants to start the next phase of the experiment without talking to the researcher ( = disable the "press enter to continue" button), so that the Researcher can press a hidden key to start the experiment.

Because I was not able to disable the button named above, I thought of creating an ordinary text element, which contains the instructions (the reseachter can start the experiment with the /validresponse key).

That is why I would like to ask, whether there is a possibily to add a textbox/white frame to my text, so that it looks like the instruction page?
Or is there a possibility to disable the "press enter to continue" button?

Thank you very much for your help! :-)

 

By Dave - 7/8/2016

It is not possible to disable or otherwise hide the navigation button(s) on instruction pages (<page> or <htmlpage> elements).

You can of course display your instructions using regular <trial>s, displaying regular <text> etc. elements. That gives you considerably more control over the permissible responses, etc.

While a <text> element will not look *exactly* like an instruction <page>, you can get pretty close.

<block someblock>
/ screencolor = (black)
/ trials = [1=instructionstrial]
</block>

<trial instructionstrial>
/ stimulusframes = [1=instructionstext]
/ validresponse = (57)
</trial>

<text instructionstext>
/ items = ("~n Lots of instructions~n More instructions~n~n Please alert the experimenter now.")
/ size = (80%, 80%)
/ txbgcolor = (white)
/ fontstyle = ("Arial", 12pt)
/ hjustify = left
/ vjustify = top
</text>

By Loli - 7/9/2016

Thank you very much for your help! :-)