How to create custom confirmations in Gravity Forms

The Ultimate Guide to Custom Confirmations in Gravity Forms

Written by Casey Burridge

Last updated:

Categories Gravity Forms

So you’re using Gravity Forms to capture leads on your website. A user lands on the page, inputs their information, and clicks “Submit”. Now what?

Getting the user’s email address may be the ultimate goal of your landing page, but the user experience doesn’t end there. Have you ever considered what happens after the user signs up for your free ebook or RSVPs to your upcoming event?

That’s where Gravity Forms Confirmations come in. In this post, we show you how to create personalized confirmation messages using conditional logic to keep users on your site and improve the user experience 😎

How to Change the Confirmation Message in Gravity Forms

For any new form you create, Gravity Forms adds a default confirmation message, but you can easily remove this or replace it with your own. In fact, Gravity Forms allows you to create as many confirmations as you want. To add a new Confirmation, first, head over to the Forms page by hovering over Forms and clicking on Forms.

Next, hover over your form, click Settings and then click on the Confirmations tab on the left. To create a new confirmation, click Add New.

There are three different types of confirmations in Gravity Forms.

  1. Text – display a message to the user after they submit your form
  2. Page – send the user to a specific page on your website after they submit your form
  3. Redirect – redirect the user to a custom URL after they submit your form

Each of these different Confirmation types supports conditional logic, allowing you to trigger the confirmation only when specific conditions are met. We’ll show you some examples of how this works below but first…

Why Personalize Your Confirmation Messages?

There are several reasons to customize and personalize your Gravity Forms confirmation messages. 

After submitting your form, seeing a short “thank you” message doesn’t give the user enough information about what they should do next or where they should go. Inadequate confirmations may result in users getting frustrated and leaving your website

Displaying an informative confirmation message or redirecting users to a relevant page on your website allows you to keep users engaged with your content. Remember, the longer a user stays on your site, the more likely they are to share your content or purchase your products.

Creating personalized confirmation messages goes a long way towards improving the overall user experience. This, in turn, strengthens trust in your brand and helps to improve your SEO 📈

Imagine you have a form on your website allowing users to request more information about your services. Using custom confirmations you could show users relevant information based on the services they’re interested in. This is more impactful than displaying a generic message to all users, don’t you think?

Displaying User Entries On the Confirmation Page

Did you know that you can display user entries inside confirmation messages? This type of confirmation shows the user exactly what information was captured when they clicked “Submit”. It’s a helpful reminder that confirms their submission was successfully sent.

To show user-submitted content in the confirmation message, select Text as the Confirmation Type and add the merge tags corresponding to the fields you want to display inside the text editor. Gravity Forms merge tags allow you to dynamically display user-submitted content on the page.

To add merge tags to your confirmation message, click on the button to the right-hand side of the text editor. In the below example, we’re displaying user registration information for our upcoming Galactic Exploration event 😎

An arrow pointing to the merge tag button on the right of the text editor for Gravity Forms confirmation messages

Here’s what our confirmation message looks like on the front end.

A confirmation message that says 'Thanks for registering for the 2022 galactic exploration! Here are the details you submitted to us'

Alternatively, instead of adding individual merge tags to the confirmation message, you could add all fields using a single merge tag. To do this, open the merge tag list and select the top one titled “All Submitted Fields”

The merge tag menu with an arrow pointing to the 'All Submitted Fields' merge tag

This merge tag displays the user’s submission in a neat-looking format that’s pre-styled.

Gravity Forms field values displayed on the front end

Now let’s see how we can display custom confirmations using conditional logic.

Displaying Custom Confirmations Based On Conditional Logic

Gravity Forms Confirmations also support conditional logic, allowing you to display different confirmations based on the information entered in the user’s submission. If you’re unfamiliar with conditional logic, think of it as a decision-making tool that says “when X, do Y”.

In other words, conditional logic allows you to set up a condition and then specify an action to be carried out when that condition is met. Here’s an example: If the user’s name is Molly, display “Hello, Molly!”.

To configure the conditional logic settings, scroll down to the bottom of the Confirmation page and check the box that says “Enable conditional logic”.

Enable conditional logic checkbox

You’ll now see four dropdown menus appear, allowing you to configure conditional logic statements.

Conditional logic settings
  1. Choose whether to use ANY or AND logic
    This option is only applicable to cases where you have set more than one condition. If set to “all”, then all conditions must match. If set to “any” then only one of the conditions has to match.
  1. Field
    The field in your form.
  1. Parameter
    Accepted parameters include: is, is not, contains, greater than, less than, starts with, and ends with.
  1. Value
    The value to compare the field against.

In the above example, we’re only displaying the confirmation message if the user chose Saturn as their favorite planet.

Conditional Confirmation Using “greater than”

In this example, we’re using the greater than parameter to only display the confirmation message if the user’s age is greater than 21.

A conditional logic statement that reads 'use this confirmation is Age is greater than 21'

Conditional Confirmation Using “contains”

Here’s an example where we’re using the contains parameter to only display the confirmation message if the “Dietary requirements” field contains the word “vegan”. In other words, as long as the word “vegan” appears somewhere in the user’s response, the confirmation message will be displayed.

A conditional logic statement that reads 'use this confirmation is Dietary Requirements contains vegan'.

Now let’s see how we can use conditional redirects to add more information and personalization to our confirmation messages.

Gravity Forms Confirmation: Conditional Redirects

To create a confirmation redirect, select the Redirect option underneath Confirmation Type. Now enter a URL into the Redirect URL box. This is the URL that the user will be redirected to after completing their submission.

A confirmation with the Type set to 'Redirect' and a URL inside the Redirect URL field.

In this example, we’re sending the user to the Saturn Overview page on the NASA website. And thanks to our conditional statement above, the redirect will only occur if they chose Saturn as their favorite planet!

Likewise, we could create multiple redirects for users who chose other planets as their favorite. 

Customizing Gravity Forms Confirmations: Final Thoughts

Gravity Forms Confirmations allow you to display messages or redirect users after they submit your form. In this post, we showed you how to create custom confirmations in Gravity Forms using merge tags and conditional logic.

The most important thing to understand about conditional logic is that it allows you to personalize the user experience by giving the user the information they need or sending them where they need to go.

If you found this post helpful, learn more about Gravity Forms conditional logic or subscribe to our blog below so we can notify you when we publish new content! 😁

Join Our Newsletter!📧🙌

✅ Helpful Gravity Forms content straight to your inbox

✅ Be the first to hear about new updates and releases