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 = 'info' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): email = models. StringField( label = "Please enter your email." ) email2 = models. StringField( label = "Please enter your email again to confirm." ) mobile = models.StringField( label = "Please enter your mobile number." ) age = models.StringField( label = "Please enter your age." ) gender = models.StringField( label = "Please choose your gender", choices = ["Male", "Female"] ) income = models.StringField( label = "Please enter your income before joining the civil service." ) birth = models.StringField( label = "Enter place of birth." ) land = models.StringField( label = "Do you own any land?", choices = ["Yes", "No"] ) edu = models.StringField( label = "Highest education obtained?", choices = ["BA", "BSc", "MA", "MSc", "Phd",] ) outside = models.StringField( label = "Have you ever lived outside Pakistan?", choices = ["Yes", "No"] )