from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class Page1(Page): pass class Page2(Page): pass class Page3(Page): form_model = 'player' form_fields = ['RFT_balls_in_blue', 'RFT_balls_in_yellow'] def before_next_page(self): self.player.set_payoff() page_sequence = [Page1, Page2, Page3]