#1 by ksrini
I have a wait page because I want Player 1 to wait for Player 2's decision. I don't want participants to wait too long on the wait page, so I have timeout_seconds = 10. But participants don't seem to advance after 10 seconds. I'm using the new format with Otree version 5.10.4. Here is my code
class Wait_a2(WaitPage):
form_model = 'player'
template_name = 'main1/Wait_a2.html'
timeout_seconds = 10
@staticmethod
def before_next_page(player, timeout_happened):
if timeout_happened:
player.group.timeout_a1 = 1