from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Zain Aamir' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'book_selection' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): select = models.StringField( label = "please choose a book", choices = ["Book 1", "Book 2"] ) mail = models. StringField( label = "Please enter your current mailing address." ) mailt = models. StringField( label = "Please re-enter your full current mailing address where you would like to receive the book." ) num = models. StringField( label = "Please also enter your mobile phone number that the TCS/DHL agent can use to connect with you in case there is a problem with book delivery." )