--
You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/712bffba-7a59-48d0-afed-8f55e9575eaan%40googlegroups.com.
Perfect, it's all clear to me now. Thank you very much!
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/bfb85330-e3d6-4df5-b68d-a63e5d750b00n%40googlegroups.com.
On Mar 16, 2022, at 2:30 PM, kmo <ult...@gmail.com> wrote:
Hi - this is exactly what I have already implemented and that works fine. As you described, whenever a person loads the page a counter in session.vars keeps track of the number of people who arrived at the wait page. When that counter reaches the total number of participants in the experiment, some calculations happen and the form is submitted. The problem is that the last person joining the wait page triggers these functions for their own group only, but I need all groups to proceed together at the same time. It seems the return statement in the live method takes id_in_group as a statement and by specifying "0" I can only send data to own-group members but I want all participants beyond the group level receive these updates. Is there a way of achieving this? Maybe I am missing something obvious.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/a5b75461-f04c-4dea-b48d-cc1b07cf5a48n%40googlegroups.com.