code: def validate(self, *args, **kwargs):
          
  
          valid = Form.validate(self, *args, **kwargs)
          if not valid: return valid
  
          return self.validate_ldap()
docs: Validates the form by calling `validate` on each field, passing any
          extra `Form.validate_<fieldname>` validators to the field validator.
          
          also calls `validate_ldap`