Form with Custom Redirect

By default, FormWit shows a generic confirmation page after submission. This template uses the _redirect hidden field to send users to your own thank-you page instead. This lets you control the post-submission experience: show a branded page, offer a next step, or track conversions. See the fields reference for all special fields.

Form with Custom Redirect preview

Template Code

HTML
<form action="https://app.formwit.com/api/s/YOUR_FORM_ID" method="POST">
  <!-- Redirect to your thank-you page after submission -->
  <input type="hidden" name="_redirect" value="https://yoursite.com/thank-you" />

  <label for="name">Name</label>
  <input type="text" id="name" name="name" required />

  <label for="email">Email</label>
  <input type="email" id="email" name="email" required />

  <label for="message">Message</label>
  <textarea id="message" name="message" required></textarea>

  <!-- Honeypot spam protection -->
  <input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off" />

  <button type="submit">Send Message</button>
</form>

Want to customize?

Build your own form visually with our free HTML form generator.

Try the Form Generator →

Use cases

  • Thank-you pages with conversion tracking pixels
  • Post-submission upsells or next-step CTAs
  • Branded confirmation pages matching your site design
  • Redirect to a download link after form submission

Customization tips

  • Change the _redirect value to any URL — your own site, a Calendly link, a download page
  • Create a dedicated /thank-you page with your tracking pixels (Google Ads, Facebook Pixel)
  • Add a _subject hidden field to customize the email notification subject line
  • Combine with the styled or Tailwind templates for a polished look

Related guide

Want a step-by-step walkthrough? Read the full Well-Known Fields Reference.

Related templates

Frequently asked questions

Does the redirect require a paid plan?

Custom redirects require the FormWit Starter plan or higher. On the free plan, users see FormWit's default confirmation page.

Can I redirect to an external URL?

Yes. The _redirect field accepts any valid URL — your own domain, a third-party service, or even a file download link.

What happens if the redirect URL is invalid?

The form submission is still processed and delivered. If the redirect URL is unreachable, the user's browser will show a standard navigation error.

Get your form working in 30 seconds

  • No credit card required
  • Unlimited forms
  • 100 submissions/month free
Get Started Free