Millisecond Forums

Removing the Default Instruction "Press [Enter] for previous page"

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

By sunm - 1/17/2014

Hi,

I'm having an issue with the default presentation of the instruction pages. The pages are being displayed with two buttons, on the left: "Press [Enter] for previous page" and on the right "Press space to continue".

The right button I configured and so I expected. The left button I did not expect, and does not even work (If I push Enter, it does not go to the previous page).

How do I get rid of this? I have looked through the help documentation and could not find anything. Thank you.



<instruct>
/ nextlabel = "Press the spacebar to continue"
/ nextkey = (" ")
</instruct>

<block PracticeERT>
/ trials = [1=PERT1;2=PERT2;3=PERT3;4=PERT4;5=PERT5]
/ preinstructions =  (practiceVERT.instructions.page1, practiceVERT.instructions.page2, practiceVERT.instructions.page3, practiceVERT.instructions.page4)
</block>
By Dave - 1/17/2014

The attributes you need to define to alter instruction page navigation behavior are

<instruct>
[...]
/ lastlabel = "label"
/ nextkey = ("character") or (scancode) or (signal)
/ nextlabel = "label"
/ prevkey = ("character") or (scancode) or (signal)
/ prevlabel = "label"
[...]
</instruct>

details for all of which can be found in the documentation.
By LePhil - 5/24/2014

The question was "how to get rid of this button". From what I get, it's not possible with the parameters you described.

I found a workaround though: I put the window size to 115% (vertically) which moves the buttons out of the screen. It's not possible to get rid of the buttons by changing the labels, even if I put nothing on them they were still displayed, just as empty buttons.
By Dave - 5/24/2014

> The question was "how to get rid of this button".

That's not how I understood the original question. The fact is that instruction pages allow for navigating back and forth between them -- that's why there ought to be *two* navigation buttons. The behavior of those buttons is configured via the attributes I mentioned.
By inez - 5/26/2014

You can change in using the command
/ prevlabel = "the label you want"

If it comes up at the very end of the instruction pages, you can edit it with
/ lastlabel = "whatever label you want"

Hope this helps!
By CES - 6/19/2014

To return to this question, is there a way to get rid of the before button on the instruction page?
By Dave - 6/19/2014

No. If you want to prevent back-navigation, don't use instruction pages (<page> & <htmlpage> elements). Instead display your instructions using standard, <text>, <trial>, etc. elements.
By tela - 9/11/2016

My question is related: is there a way of removing/disabling next button on Surveypages? We don't want the participants to close Inquisit when they are on the last page of their experiment. Another solution I came up with is to replace it with a trial and text elements with very long delay, but I am not sure if it works properly. Any other ideas?


By Dave - 9/11/2016

You cannot remove the next button on a <surveypage>, you can however place it off-screen via the page's /nextbuttonposition attribute.

<surveypage somepage>
/ caption = "The button is off-screen. Press TAB and then ENTER to move on."
/ nextbuttonposition = (110%, 110%)
</surveypage>