class If(object):

    def __init__(self, parent, run_validation=None, extra_validators=None,
        msg=None):
        self.parent = parent
self.msg = msg if msg is not None else 'Invalid'
How to get a build a form with repeated elements well