Can’t locate an item in my code

PennController for IBEX Forums Support Can’t locate an item in my code

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9963
    ElRk
    Participant

    Hello,

    In the introduction of my experiment, several informative messages show up to the participants and between them the message “-> Click here to continue.” shows up.
    You have to click on it so that you go to the next page.

    I would like to change this message or translate it but I never managed to find where exactly it is located in the code.

    Demo link: https://farm.pcibex.net/r/RLwLNB/

    Any help would be appreciated.
    Many thanks in advance!

    #9970
    Jeremy
    Keymaster

    Hello,

    Specify the continueMessage parameter of the Message controller, as in

    ["intro", "Message", {html:
        ["div",
          ["p", ["h1", "Hello"]],
          ["p", ["strong", "word"]]
        ]
      ,
      continueMessage: "My custom message"
    }]

    Jeremy

    #9977
    ElRk
    Participant

    Jeremy thank you very much for your help!

    I can use it with the continue message I want and it works great.
    The problem is that the previous message that was showing up between the introduction sections “-> Click here to continue.” doesn’t disappear and I really don’t find something relevant to the code so that I can modify it.

    Best,
    Eleni

    #9980
    Jeremy
    Keymaster

    Hi Eleni,

    I’m not sure I understand. When I add ,continueMessage: "My custom message" to the parameters of all the Message controllers in your code, I never see “-> Click here to continue.” but instead “-> My custom message”

    Do you want to make the message disappear altogether, no matter what it says? If so, how do you expect the participant to move on to the next screen? If you’d rather them press a key, you could set transfer to "keypress", as explained in the documentation I linked to in my previous message

    Jeremy

    #9987
    ElRk
    Participant

    Obviously I was doing something wrong. It works great.

    Many thanks once again!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.