Features/Forms

Redirect on success

Send visitors to another page after a successful submission, only to safe http(s) URLs on your own domain or allowed hosts.

In Form Settings the Success Action can be Show Message, Redirect or Both. With Redirect or Both the visitor is sent to the Redirect URL after the server accepts the submission. For safety the browser only follows http or https URLs on the same host or on the form's own allowlist; anything else (javascript:, data:, blob:, other domains) is ignored and the success message is shown instead.

How it works

  • settings.successAction: message | redirect | both; settings.successRedirect: the URL; settings.redirectAllowHosts: optional list of extra hosts.
  • If the redirect is refused, the form shows .dh-fb-success or the response message.
  • Builder forms only (class dh-fb). Hand-made forms can redirect through JS events.

When to use it

  • Send leads to a thank-you page that fires a conversion pixel
  • Send applicants to a next-steps page

Limitations

  • Redirects to other domains are ignored unless the host is on the form's allowlist.
  • Only for builder forms.

Availability

  • Works in Designer, AI Studio and MCP.

How to use it.

  1. Open the form in the form builder.
  2. In Form Settings set Success Action to Redirect or Both.
  3. Enter the Redirect URL and save.

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.