code: def _get_field_method(self, tp):
          
          method = self.field_constructor.get(tp)
          if method and hasattr(self, method.__name__):
              return getattr(self, method.__name__)
          return method
docs: Returns a reference to the form element's constructor method.