FormData when you need to upload files.
Below are two patterns you can copy depending on your form type.
1
Build your Formik form
Use Formik as usual to manage values and validation.
2
Send the submission to Formbase
- JSON submission
- File uploads
Client-side submissions receive a
303 redirect response. Treat it as success or submit from your server for JSON.