Skip to main content

Success Return on Forms

Freeform offers a wide variety of ways to handle the success return on forms. Check out the list below to see all available options and how to use them:

Reload form with a Success banner above

If you'd like to customize the success banner message for your form, choose one of the options below.

1

Go to the Success & Errors section under the Settings tab in the form builder.

2

For the Success Behavior setting, select the Reload form with a Success banner above option.

3

For the Success Message setting, enter the message you'd like.

Replace form with a Success message

If you'd like to have your entire form replaced with custom success content, choose one of the options below.

1

Go to the Template Manager settings area and configure the Success Templates directory.

2

Add a new Success template. A basic one might look like this:

<div id="freeform-success">
<h3>Thank you!</h3>
<p>We have successfully received your submission.</p>
</div>
3

Go to the Success & Errors section under the Settings tab in the form builder.

4

For the Success Behavior setting, select the Replace form with a Success message option.

5

For the Success Template setting, select a Success template.

Return the Submitter to a URL

If you'd like to redirect the form submitter to a different return URL, this can be handled a few different ways.

1

Go to the Success & Errors section under the Settings tab in the form builder.

2

For the Success Behavior setting, select the Return the Submitter to the following URL option.

3

For the Return URL setting, enter the URL path you'd like. The path is relative, so you may need to begin the URL with /.

You can also use any of the following:

  • {{ form.handle }} - handle of the form.
  • {{ submission.token }} - the secure token created for the submission.
  • {{ submission.id }} - the newly created unique submission ID in the URL. This (and submission.token) would allow you to use the Submissions query to display some or all of the users' submission on the success page.

If the returnUrl parameter is specified at the template level, Freeform will ignore the value set inside the form builder.