When using native forms and parsing them with FormData, there are a few possible values that can be returned:

  • null - value doesn’t exist in the form data at all
  • string - value returned by inputs (doesn’t matter whether it is number or text input)
  • File - applies to file inputs