from otree.api import * doc = """ "Widget to sort your preference". """ class C(BaseConstants): NAME_IN_URL = 'Termine' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 CHOICES = ['20/12/2022', '21/12/2022', '22/12/2022', '23/12/2022'] class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): termine = models.StringField(blank=True) class MyWaitPage(WaitPage): pass class MyPage(Page): form_model = 'player' form_fields = ['termine'] class Result(Page): pass page_sequence = [MyWaitPage, MyPage, Result]