from random import seed from otree.api import * doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'exit_questions' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): eq1 = models.StringField(label="If I chose to invest with help, I was concerned about being misled.", choices=["Strongly Agree", "Agree", "Neither Agree nor Disagree", "Disagree", "Strongly Disagree"],widget=widgets.RadioSelect) eq2 = models.StringField(label="If I chose to invest with help, I was concerned about my trust being violated.", choices=["Strongly Agree", "Agree", "Neither Agree nor Disagree", "Disagree", "Strongly Disagree"],widget=widgets.RadioSelect) eq3 = models.StringField(label="If I chose to invest with help, I would feel betrayed if I received a negative return.", choices=["Strongly Agree", "Agree", "Neither Agree nor Disagree", "Disagree", "Strongly Disagree"],widget=widgets.RadioSelect) eq4 = models.StringField(label="If I chose to invest with help, I trusted that a good investment decision would be made for me.", choices=["Strongly Agree", "Agree", "Neither Agree nor Disagree", "Disagree", "Strongly Disagree"],widget=widgets.RadioSelect) eq5 = models.StringField(label="If I chose to invest with help, I felt like I made a mistake if I received a negative return.", choices=["Strongly Agree", "Agree", "Neither Agree nor Disagree", "Disagree", "Strongly Disagree"],widget=widgets.RadioSelect) eq6 = models.StringField(label="If I chose to invest on my own, I felt like I made a mistake if I received a negative return.", choices=["Strongly Agree", "Agree", "Neither Agree nor Disagree", "Disagree", "Strongly Disagree"],widget=widgets.RadioSelect) eq7 = models.StringField(label="If I had invested with help more frequently, I likely would have received higher returns.", choices=["Strongly Agree", "Agree", "Neither Agree nor Disagree", "Disagree", "Strongly Disagree"],widget=widgets.RadioSelect) eq8 = models.StringField(label="The help that I was offered was of high quality.", choices=["Strongly Agree", "Agree", "Neither Agree nor Disagree", "Disagree", "Strongly Disagree"],widget=widgets.RadioSelect) # PAGES class Page1(Page): form_model = 'player' form_fields = ['eq1', 'eq2', 'eq3', 'eq4', 'eq5', 'eq6', 'eq7', 'eq8'] page_sequence = [ Page1, ]