from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'big5pic' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): open = models.IntegerField(label="", choices=[1,2,3,4,5], widget=widgets.RadioSelectHorizontal ) consc = models.IntegerField(label="", choices=[1,2,3,4,5], widget=widgets.RadioSelectHorizontal ) extrovert = models.IntegerField(label="", choices=[1,2,3,4,5], widget=widgets.RadioSelectHorizontal ) agreeable = models.IntegerField(label="", choices=[1,2,3,4,5], widget=widgets.RadioSelectHorizontal ) neurotic = models.IntegerField(label="", choices=[1,2,3,4,5], widget=widgets.RadioSelectHorizontal ) # PAGES class Instr_ADV(Page): form_model = 'player' class o(Page): form_model = 'player' form_fields = ['open'] class c(Page): form_model = 'player' form_fields = ['consc'] class e(Page): form_model = 'player' form_fields = ['extrovert'] class a(Page): form_model = 'player' form_fields = ['agreeable'] class n(Page): form_model = 'player' form_fields = ['neurotic'] class End(Page): form_model = 'player' page_sequence = [Instr_ADV,e,a,c,n,o,End]