from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'ID_Email' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): Student_ID = models.LongStringField(label="Please provide your Student ID for your reward (this will be removed from your answers and scores for anonymity): ", blank=True) Student_Email = models.LongStringField(label="Please provide your Student Email in case you need to be contacted (this will be removed from your answers and scores for anonymity): ", blank=True) # PAGES class index(Page): form_model = 'player' form_fields = ['Student_ID', 'Student_Email'] class endPage(Page): pass page_sequence = [index]