Reply To: Linking Experiments

PennController for IBEX Forums Support Linking Experiments Reply To: Linking Experiments

#6350
Jeremy
Keymaster

Hello Ehsan,

You just need to add a link to your other experiment on the last trial of your experiment, after you’ve sent the results. If you’re using PennController on the native Ibex Farm, you could have your last trial look something like this:

newTrial( "last" ,
  SendResults()
  ,
  newText("<a href='http://spellout.net/ibexexps/UserName/NextExpName/experiment.html'>"+
          "Click here to proceed to the next experiment</a>").print()
  ,
  newButton().wait()
)

Using native-Ibex syntax, it would look something like this:

["last", 
  "__SendResults__", {},
  "Message", {html: "<a href='http://spellout.net/ibexexps/UserName/NextExpName/experiment.html'>"+
                    "Click here to proceed to the next experiment</a>"}
]

You would do that for your three first experiments, using the link of the ‘next’ experiment each time (the last experiment, by definition, not being associated with a ‘next’ experiment). Let me know if you have questions

Jeremy