SAVEFORM

Features · Last updated April 23, 2026

Custom redirects

Out of the box, SaveForm sends HTML-form visitors to a branded success page. Override that behavior per form with two hidden fields: _redirect and _redirect_mode.

_redirect

The absolute URL to send the visitor to after a successful submission.

_redirect_mode

Controls whether the built-in success page shows up before the redirect.

ValueBehavior
successDefault. Shows the SaveForm success page with a 5-second countdown. Visitors can click Go back now to redirect immediately.
directRedirects instantly — no intermediate success page. Best when you already have a well-designed thank-you page.

Example

HTMLredirect-form.html
<form action="https://saveform.io/api/submit/YOUR_FORM_ID" method="POST">
  <!-- Where to go after submit -->
  <input type="hidden" name="_redirect"      value="https://yoursite.com/thank-you" />

  <!-- Optional: skip the SaveForm success page entirely -->
  <input type="hidden" name="_redirect_mode" value="direct" />

  <input type="text" name="name" required />
  <button type="submit">Submit</button>
</form>

Using fetch instead? The _redirect field is ignored and you receive the regular JSON response — handle routing yourself on success.

Custom redirects | SaveForm.io