from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'ASCDscreener' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): time_pressure = models.IntegerField() Familarity = models.StringField( choices=[ ['1', 'Yes, I use their resources / services regularly'], ['2', 'Yes, I know about them and I use their resources / services occasionally'], ['3', 'Yes, I have heard about them but have never actually used their resources / services'], ['4', 'No, I’m not familiar with them'] ], label='Are you familiar with ASCD (Please select the statement that best aligns with your district.)', widget=widgets.RadioSelect ) class ASCDusers(Page): form_model = 'player' form_fields = ['Familarity'] class EndPage(Page): def is_displayed(self): return self.Familarity == '1' or self.Familarity == '2' page_sequence = [ASCDusers, EndPage]