original_docstring: 
          Takes form field values and calls "serialize_field" method for each field,
          if it is declared in the field class
          :return: Serialized data
          :rtype: dict
          
docstring: Takes form field values and calls "serialize_field" method for each field,
  if it is declared in the field class
docstring_tokens: Takes form field values and calls " serialize_field " method for each field if it is declared in the field class
code: def serialize_form_data(self):
          """
          Takes form field values and calls "serialize_field" method for each field,
          if it is declared in the field class
          :return: Serialized data
          :rtype: dict
          """
          parsed_data = {}
          for key, field in self.declared_fields.items():
              value = self.cleaned_data.get(key)
              if key.startswith('_'):
                  continue
  
              field = self.fields.get(key)
              if hasattr(field, "serialize_field") and callable(field.serialize_field):
                  parsed_data[key] = field.serialize_field(value)
              else:
                  parsed_data[key] = value
          return parsed_data
code_tokens: def serialize_form_data ( self ) : parsed_data = { } for key , field in self . declared_fields . items ( ) : value = self . cleaned_data . get ( key ) if key . startswith ( '_' ) : continue field = self . fields . get ( key ) if hasattr ( field , "serialize_field" ) and callable ( field . serialize_field ) : parsed_data [ key ] = field . serialize_field ( value ) else : parsed_data [ key ] = value return parsed_data
short_docstring: Takes form field values and calls "serialize_field" method for each field,
  if it is declared in the field class
short_docstring_tokens: Takes form field values and calls " serialize_field " method for each field if it is declared in the field class
comment: """
          Takes form field values and calls "serialize_field" method for each field,
          if it is declared in the field class
          :return: Serialized data
          :rtype: dict
          """