303 redirect, so treat that status as success.
1
Create the form
Bind inputs to
name attributes and prevent the default submit.2
Send the submission
- Basic submission
- File upload
event.currentTarget.For a JSON response, forward submissions from a server endpoint or server action.