from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'welcome' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): consent1 = models.BooleanField( widget=widgets.CheckboxInput, label="I have read and understood the information provided") consent2 = models.BooleanField( widget=widgets.CheckboxInput, label="I agree to voluntarily participate in this study") particID = models.StringField( label="Please, write your experimental ID here:") # PAGES class InformedConsent(Page): form_model = 'player' form_fields = ['consent1','consent2'] class particID(Page): form_model = 'player' form_fields = ['particID'] page_sequence = [InformedConsent, particID]