from otree.api import * c = Currency doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'consent' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): consent_choice = models.StringField( choices=["Consent"], widget=widgets.RadioSelect ) prolific_id = models.StringField(label="What is your Prolific ID?") # PAGES class Consent(Page): pass class Consent2(Page): pass class Consent3(Page): form_model = "player" form_fields = ["consent_choice"] class ProlificID(Page): form_model = "player" form_fields = ["prolific_id"] class Results(Page): pass page_sequence = [Consent, Consent2, Consent3, Results, ProlificID]