Skip to main content
Sometimes your thank-you page needs context about what the user submitted. Because the data is already available in the browser, you can build query parameters and redirect after a successful Formbase submission. This is a client-side pattern that works well for simple personalization.
1

Submit the form

Post the form data to Formbase and treat a 303 response as success.
2

Build the redirect URL

The redirect becomes something like /thanks?name=Chris&plan=pro.
If you need the server response, submit from a server action and return the data to the client.