oTree Forum >

Waiting Room for Online experiment

#1 by Mike_Zhiren_Wu

Hi everyone,

I'm trying to screen participants via consent form and waiting time for an online experiment. For those who give consent, I'd like to set an upper limit of waiting time (e.g 5 minutes) for them to get paired. For those who cannot be matched within 5 minutes, they will be removed from further grouping and get a fixed amount of compensation. Are there any sample codes that can achieve this? I attempted 
https://s3.amazonaws.com/otreehub/browsable_source/1e38462b-46c7-4ca1-bca5-536462f90131/wait_page_timeout/index.html
in otree-snippets but it is not working properly. For those who are over time & get the completion code, they can still proceed when a second player appears.

Write a reply

Set forum username