Skip to main content
FormKit handles form state and validation in Vue. You can send the submitted values directly to Formbase as JSON, or switch to FormData when you need file uploads. Because Formbase returns a 303 redirect to browser requests, treat that status as success in your client-side handler.
1

Wire up the submit handler

Use FormKit’s @submit hook to send data to Formbase.
2

Send the data

JSON is ideal when you do not need file uploads.
Use a server-side submit if you need a JSON response from Formbase.