from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class introduction(Page): pass class choice(Page): form_model = 'player' form_fields = ['choice1', 'choice2', 'choice3', 'choice4', 'choice5', 'choice6', 'choice7', 'choice8', 'choice9', 'choice10'] #form_fields = ['choice1'] def before_next_page(self): self.player.set_payoff() page_sequence = [ introduction, choice ]