Skip to content
FormclickDocs
HTML FormsBuilding forms

Redirect after submit

Send visitors to your own thank-you page with a hidden redirect field or a dashboard setting.

Instead of the Formclick confirmation page, you can send people to any page you like, for example a thank-you page that fires your analytics conversion.

yourwebsite.com/contact
Get a quote
Jane Smith
jane@acme.co
Request quote
302 → /thanks

Using a hidden field

HTML
<form action="https://api.formclick.io/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
  <input type="hidden" name="redirect" value="https://yourwebsite.com/thanks.html">
  ...
</form>

<!-- Handles submit, file upload, loading state and success/error messages. -->
<script src="https://cdn.formclick.io/formclick.min.js"></script>

Plain HTML forms get a 302 redirect. With formclick.min.js or fetch the JSON response contains redirect_url, and the script navigates there for you.

A default redirect for the form

A form can also have a default redirect URL, used for every submission that does not send its own redirect field, so you can change it without editing your site. Set it with the MCP update_form_settings or create_html_form tools.

Rules

RuleDetails
Full URLMust be an absolute http:// or https:// URL, up to 2,000 characters. /thanks on its own is ignored.
Free planRedirects must stay on the same website the form was submitted from (subdomains and www. count as the same site).
Paid plansRedirect to any domain, e.g. a booking page or a separate landing site.
Invalid redirectIgnored. The submission still succeeds and the form’s default redirect or the normal confirmation is used.
Same-site redirects on the Free plan stop your form being misused to bounce visitors to other websites.
Still need help? Contact support or email support@formclick.io.