Redirects & thank-you page
Custom redirects and a hosted thank-you page
After a plain HTML form submits, FormSubmit responds with a 303 redirect: to the redirect URL set in your form settings, to a _redirect field in the form, or to a clean hosted thank-you page with your custom message. JavaScript requests get JSON instead.
Per-form redirect
Set a redirect URL in settings; it always wins.
Per-page redirect
Or add <input type="hidden" name="_redirect" value="https://…"> to send different pages to different thank-you URLs.
Hosted thank-you page
No page of your own? Customise the title and message on ours — no FormSubmit branding on any plan.
JSON for AJAX
Send Accept: application/json and you get { ok, id, message } instead of a redirect.
Frequently asked questions
Why a 303 redirect?
303 See Other tells the browser to load the next page with GET, so refreshing the thank-you page never re-submits the form.
Related
Redirects & thank-you page
Control where visitors go after submitting an HTML form, or customise the hosted thank-you page.
Endpoint reference
How the FormSubmit endpoint accepts submissions, what it returns, and every error code.
AJAX form submission with JavaScript
AJAX form submission with fetch and FormData, JSON responses, and inline success and error messages.
Your form backend is 60 seconds away
Sign up with Google or email, create a form, paste the endpoint. Free forever for small sites — no credit card.