Skip to main content
Vue works well with Formbase whether you use a standard <form action> or handle submission programmatically. This guide shows a programmatic submission so you can control loading and error state. Because browser requests receive a 303 redirect, treat that as success in your UI.
1

Build the form

Create the form fields and bind them to Vue state.
2

Submit to Formbase

FormData mirrors a standard HTML form post.
For a JSON response, submit from your server instead of the browser.