Get inside access to design tips from a pro! Subscribe to Design to Dollars

Gravity Forms

How to Create a Custom Confirmation ‘Thank You’ Message in Gravity Forms

Adam Wright

by Adam Wright

Today, I want to show you how to customize the confirmation message in Gravity Forms so that you can personalize it with the user’s name or any other form entry data. This small touch can enhance the user experience on your website by making the confirmation message feel more personalized.

Step 1: Set Up Your Gravity Form

For this tutorial, I’ve set up a demo contact form using Gravity Forms on my site. The form includes fields for the user’s first name, last name, phone number, email, and a message. Our goal is to display a personalized confirmation message when the form is submitted, such as “Thank you, Adam! We’ll be in touch soon.”

Step 2: Access Confirmation Settings

  1. Go to your Gravity Forms dashboard and navigate to the contact form you’ve created.
  2. Click on Settings and then Confirmations.
  3. Select the Default Confirmation or create a new one if needed.

Step 3: Customize the Confirmation Message

By default, Gravity Forms provides a generic confirmation message like “Thanks for reaching out.” To personalize this, you can pull in the user’s name using merge tags.

  1. In the confirmation message editor, write your message. For example:
    Thank you,
  2. To insert the user’s first name, click on the Merge Tag button (the curly brackets) next to the “Add Media” button.
  3. Select Name (First) from the list of fields.
  4. Complete your message, such as:
    Thank you, {Name (First)}! We’ll be in touch within two business days.
  5. You can style the message using HTML tags, such as wrapping the message in an <h2> tag and centering it using the <center> tag.

Step 4: Test the Confirmation Message

Now that you’ve customized the confirmation message, it’s time to test it.

  1. Fill out your form with some dummy data, such as:
    First Name: Adam, Last Name: W, Email: example@example.com
  2. Submit the form.
  3. The confirmation message should display:
    Thank you, Adam! We’ll be in touch within two business days.

Step 5: Display All Submitted Data (Optional)

If you want to go a step further, you can display all the data the user submitted in the confirmation message.

  1. Edit your confirmation message again.
  2. Include a line like:
    Thank you, {Name (First)}! Here’s a copy of your submission:
  3. Use the merge tag {All Submitted Fields} to display all the form data.

For example, your confirmation message might look like this:

<h2>Thank you, {Name (First)}!</h2>
<p>Here’s a copy of your submission:</p>
<p>{All Submitted Fields}</p>
  1. Save your changes and test the form again.

Additional Tips

  • If you want to insert personalized data into a custom page built with the block editor or a page builder, Gravity Forms doesn’t support this out of the box. You’ll need a third-party plugin like Gravity Wiz or GravityView to achieve this.
  • Always take the time to customize your thank you message. It adds that extra touch that can enhance the user experience on your site.

That’s how you can customize the confirmation message in Gravity Forms to include user data. It’s a simple yet powerful way to create a more engaging and personalized experience for your visitors.

Subscribe

Follow My YouTube Channel for More Tutorials

Subscribe to Channel
Adam Wright

About the Author

Adam Wright

Adam is a California native, now living in Middle Tennessee. A long-time creative at heart, his passion for design and growing his small business, AWD, is always evident. When he's not writing code or sketching logos, he enjoys spending time with family, playing basketball, or watching just about any motorsports. Find him on LinkedIn.