Skip to content
Documentation

Redirect after submission

Send visitors to a page on your website after a successful native HTML submission. Redirects are available on Free and Pro.

Save the destination

  1. Create your thank-you page, for example https://example.com/thanks.
  2. Open the form’s settings and save that full HTTPS URL as its redirect destination.
  3. Submit the form from your website and check that the browser opens the destination.

Use a URL without credentials, query parameters, a fragment or a nonstandard port. GlueForms does not add the submitted fields to the URL.

Optional HTML field

You do not need a hidden field when the destination is saved in settings. If your website includes one, its value must match the saved URL exactly:

HTML
<input type="hidden" name="redirect" value="https://example.com/thanks">

An unconfigured or different public destination is rejected before the message is accepted. A native browser submission receives a 303 redirect after acceptance. Without a saved destination, it opens the thank-you page.

With JavaScript, handle navigation yourself after accepted: true. JSON responses remain receipts and do not automatically redirect the browser.