Skip to main content
Formbase stores every submission, but sometimes you want the values immediately after submit to personalize the next screen. You can do this in two ways:
  • Use the existing form data in the browser
  • Submit from the server and use the JSON response
1

Client-side data (fastest)

Use the values you already have in the browser and redirect with state or query params.
On your thank-you page, read sessionStorage and render a personalized message.
2

Server-side data (structured)

Submit from your server and return the JSON payload to your client.
This is the best option when you need a reliable JSON response.
Browser requests receive a redirect instead of JSON. Use a server action or API route if you need the response body.