sendResults() message

PennController for IBEX Forums Support sendResults() message

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8561
    sour
    Participant

    Is there any way to remove the confirmation message that appears when sendResults is called? it says “results were successfully sent to the server, thanks!”

    #8563
    Jeremy
    Keymaster

    Hi,

    This message only remains on the page if there’s nothing after SendResults(). If you have a trial coming after it, then the experiment moves on to that trial as soon as the results have been sent

    You can remove the message altogether by setting completionMessage to "":

    completionMessage = ""
    
    newTrial( newButton("Hello World").print().wait() )
    
    SendResults()

    Jeremy

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