I want to tick a checkbox if a user has membership to something, else leave unticked. I tried putting it in the Field's default variable as such, Field('is_tutor', 'boolean', default=auth.has_membership(auth.user_id, 'Tutors')) but this is causing an error. What's the correct way to do this?
Thanks --