from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Your name here' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'first_instructions' players_per_group = 3 num_rounds = 1 instructions_template = 'livepages/FirstInstructions.html' AgreeChoices7 = [ [1, 'Strongly disagree'], [2, 'Disagree'], [3, 'Somewhat disagree'], [4, 'Neither agree nor disagree'], [5, 'Somewhat agree'], [6, 'Agree'], [7, 'Strongly agree'] ] class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): # Motivation question motivation_q = models.IntegerField( label="I am motivated to participate in this experiment.", choices=Constants.AgreeChoices7, blank=False, ) # Accept instructions checkboxes confirm_1 = models.BooleanField(blank=False, widget=widgets.CheckboxInput)