from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) import datetime author = 'Your name here' doc = """Consent form template""" class Constants(BaseConstants): name_in_url = 'Consents' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): consent_data = models.BooleanField( widget=widgets.CheckboxInput(), label="I hereby consent that my above-mentioned data will be collected, processed as described, and stored until the fulfillment of this purpose for the payment of my compensation obtained in this experiment. I can revoke this consent at any time. The revocation of consent shall not affect the lawfulness of processing based on consent before its withdrawal.", ) payment_check = models.BooleanField( widget=widgets.CheckboxInput(), label="I hereby confirm that I agree to the specified payment method and meet the requirements (e.g., specific bank account country).", ) consent_rules = models.BooleanField( widget=widgets.CheckboxInput(), label="I hereby confirm that I have read and understood the consent form for the experiment, voluntarily agree to participate in this study, and consent to the processing of my data.", )