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 = 'consent_seqPGG' players_per_group = None num_rounds = 1 StandardChoices_1=[ [1, '4ポイント'], [2, '8ポイント'], [3, '15ポイント'], [4, '7ポイント'] ] Survey1Choices = StandardChoices_1 StandardChoices_2=[ [1, '5ポイント'], [2, '10ポイント'], [3, '20ポイント'], [4, '15ポイント'] ] Survey2Choices = StandardChoices_2 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): consent_btn = models.BooleanField() #Survey1 (Emotional Scale) item1A = models.IntegerField( label='正しいと思う選択肢をお選びください', choices=C.SURVEY1CHOICES, widget=widgets.RadioSelect ) item2A = models.IntegerField( label='正しいと思う選択肢をお選びください', choices=C.SURVEY2CHOICES, widget=widgets.RadioSelect ) get_name = models.StringField( label='ここにお名前をお書きください' )