set required to True

def as_required_fields(self, fields=[]):
        """ set required to True """
        fields = self.filter_fields(fields)
        for f in fields:
            f = self.fields[f.name]
            f.required = True