Formidable Forms

Formidable Forms

  • Features
  • Pricing
  • Resources
    • Docs & Support
    • Blog
    • Community
  • Solutions
    • Web Applications
    • Calculators
    • Surveys
    • Directories
    • Payments
    • Contact forms
  • Login
  • Get Formidable Forms

Form Confirmation

Last Updated: March 1, 2023

Knowledge Base → Forms → Form Settings → Form Actions → Form Confirmation

Choose what the user sees after an entry is submitted. Select one of the following:

Formidable Forms is the best WordPress Form Builder plugin. Get it for free!
  • Show the success message
  • Redirect to a different site, different page, or using separate values
  • Show content from another page
  • Conditionally redirect based on selection
Subscribe on YouTube

Show message

After an entry is submitted, a success message will appear. You can add any values from the submitted entry to your confirmation message, including conditional statements. To edit the success message, follow the steps below:

  1. Go into your form. Click on Settings → Actions & Notifications. By default, there will already be a Confirmation action set up. Click on the Confirmation action to edit it, or click the Confirmation icon to add a notification.
    Form Confirmation Action
  2. Enter an Action Name for easy reference. This action name will only be seen on the back end.
    Form Confirmation - Action Name
  3. To configure when the Confirmation action is triggered, select one or more of the following from the Trigger this action when options: Entry is created, and Entry is Updated. If you are running the Lite version, these options are hidden and the form action will be triggered when an entry is created.
    Form Confirmation - Trigger Action
  4. Select the Show Message button. Use the Rich text editor to customize the success message.
    Form Confirmation - Show Message
  5. To include the blank form below your confirmation message, toggle the option to Show the form with the confirmation message. This is helpful if users are submitting the form multiple times.
    Form Confirmation - Show form
If you want to change the default Success Message for all forms, go to Formidable → Global Settings → Messages.

Redirect to URL

Send users to another page or site after form submission by following the instructions below.

  1. Go into your form. Click on Settings → Actions & Notifications. By default, there will already be a Confirmation action set up. Click on the Confirmation action to edit it, or click the Confirmation icon to add a notification.
    Form Confirmation Action
  2. Enter an Action Name for easy reference. This action name will only be seen on the back end.
    Form Confirmation - Action Name
  3. To configure when the Confirmation action is triggered, select one or more of the following from the Trigger this action when options: Entry is created, and Entry is Updated. If you are running the Lite version, these options are hidden and the form action will be triggered when an entry is created.
    Form Confirmation - Trigger Action
  4. Select the Redirect to URL button.
    Form Confirmation - Redirect to URL
  5. In the Redirect URL box, enter the URL where you want to users to be redirected.
    Form Confirmation - Redirect to URL Box

Redirect to page on same site

To redirect users to a specific page on your site, enter the URL for the page where you want to users to be redirected in the Redirect URL box. You can use the [siteurl] shortcode to insert the URL of your site from the WordPress Settings → General page. Your URL might look like this: [siteurl]/page-1/
Form Confirmation - Redirect to URL Different Page

Redirect to different site

To redirect users to a different site or a specific URL, enter the URL for the page where you want to users to be redirected in the Redirect URL box. Your URL might look like this: https://example.com/landing-page/
Form Confirmation - Redirect to URL Different Site

Redirect using separate values

If you are working with long redirects on the same site, a simpler way of handling this is by using separate values. Note: This option will only work if your field options match exactly with your page slug. Follow the steps below to get started.

  1. In the Redirect URL box, enter the URL for the page where you want to users to be redirected. You can use the [siteurl] shortcode to insert the URL of your site from the WordPress Settings → General page. Your URL might look like this: [siteurl]/[1222 show=value]. Replace 1222 with your form field.
    Form Confirmation - Redirect to URL Separate Values
  2. In your form builder, add the options for your dropdown or radio field.
  3. Enable separate values and change the saved value for each option to the page slug that you want it to be redirected. For example, your setup could look like this:
    Form Confirmation - Redirect to URL Separate Values Options

    Option Label Saved Value
    Baby Clothing baby-clothing
    Baby Accessories baby-accessories
    Baby Food baby-food
  4. Once you're done, click the Update button in your form builder to save your changes.
  5. Now when a user selects Baby Clothing in the submitted form, they will get redirected to https://mysite.com/baby-clothing/. If a user selects Baby Accessories, they will get redirected to https://mysite.com/baby-accessories/. If a user selects Baby Food, they will get redirected to https://mysite.com/baby-food.
Need more advanced control of the form conditional redirect? See the code examples for the frm_redirect_url hook.

Show page content

 

Subscribe on YouTube

 

Present a message from another page when an entry is submitted. It is a good option if you have a page you want to protect by requiring a form to be submitted before viewing. You can mark the page as Private, making it inaccessible to users, but the content from that page can still be used in the success message. To get started, follow the instructions below.

  1. If you haven't yet, follow steps 1-3 here.
  2. Select the Show Page Content button.
    Form Confirmation - Show Page Content
  3. Select the page where you would like users to view the content from.
Note: If you are showing another page's content on submit and the page has Javascript (e.g. tabs and accordions), don't enable AJAX submit. It will allow the Javascript on the other page to load properly.

Form confirmation page

To create a form confirmation page that contains the submitted values of the form, follow the steps below.

  1. Follow steps 1-4 here to piece together the message that you would like to show on the confirmation page.
  2. Click the three dots at the bottom right side of the message box to display the form's field IDs which you can use in the confirmation message. You can also add HTML and inline CSS to this message box to style your message.
    Form Confirmation - Confirmation Add Entries
  3. Copy this message and paste it into the HTML text box of a WordPress page and click Publish. This will be your confirmation page.
    Form Confirmation - Confirmation Page HTML
  4. Return to your Confirmation form action settings and change the action from Show Message to Show Page Content. In the Select a Page dropdown, select the confirmation page you created and click the Update button.
    Form Confirmation - Confirmation Show Content
  5. After submitting an entry to the form, the content from the published confirmation page is shown to the user.

Conditional redirect

— Premium Feature —

Confirmation form action supports conditional logic to redirect users to different pages or URLs, depending on the information they select and submit within the form. To set this up, follow the steps below.

Note: When using conditional logic, you can choose between All and Any, depending on how you want to set up your logic.
  • Any: Requires only one of the rules to match.
  • All: Requires that all rules match before the logic is triggered.

Conditional redirect to a page on your site

You may want to redirect users to different pages on your site if they have chosen a specific option in a form field. For example, you might have a form where users can select the topic that they are interested in and they will be redirected to a specific page on your site after form submission.

  1. If you haven't yet, follow steps 1-4 here.
  2. In the Redirect URL box, enter the URL where you want to users to be redirected. Your URL might look like this: http://mysite.com/baby-clothing/.
    Form Confirmation - Conditional Redirect to a Page
  3. Click the Add Conditional Logic link and add the criteria that you want: Do this action if any of the following match: Select the topic IS EQUAL to Baby Clothing.
    Form Confirmation - Conditional Redirect to Page Logic
  4. Create another Confirmation form action and select the Redirect to URL button.
  5. In the Redirect URL box, enter the URL where you want to users to be redirected. Your URL might look like this: http://mysite.com/baby-accessories/.
    Form Confirmation - Conditional Redirect to a Page
  6. Click the Add Conditional Logic link and add the criteria that you want: Do this action if any of the following match: Select the topic IS EQUAL to Baby Accessories.
    Form Confirmation - Conditional Redirect to Page Logic
  7. Repeat the steps above depending on how many redirects you want to set up.
  8. Once you're done, click the Update button to save your changes.
  9. Now when a user selects Baby Clothing in the submitted form, they will get redirected to http://mysite.com/baby-clothing/. The same thing goes for when a user selects Baby Accessories in the submitted form, they will get redirected to http://mysite.com/baby-accessories/.

Conditional redirect to a different site

You may want to redirect users to a different site if they have chosen a specific option in a form field. For example, you might have a form where users can select the topic that they are interested in and they will be redirected to a different URL after form submission.

  1. If you haven't yet, follow steps 1-4 here.
  2. In the Redirect URL box, enter the URL where you want to users to be redirected. Your URL might look like this: http://babyclothing.com/landing-page/.
    Form Confirmation - Conditional Redirect to Different Site
  3. Click the Add Conditional Logic link and add the criteria that you want: Do this action if any of the following match: Select the topic IS EQUAL to Baby Clothing.
    Form Confirmation - Conditional Redirect to Page Logic
  4. Create another Confirmation form action and select the Redirect to URL button.
  5. In the Redirect URL box, enter the URL where you want to users to be redirected. Your URL might look like this: http://babyaccessories.com/landing-page/
    Form Confirmation - Conditional Redirect to Different Site
  6. Click the Add Conditional Logic link and add the criteria that you want: Do this action if any of the following match: Select the topic IS EQUAL to Baby Accessories.
    Form Confirmation - Conditional Redirect to Page Logic
  7. Repeat the steps above depending on how many redirects you want to set up.
  8. Once you're done, click the Update button to save your changes.
  9. Now when a user selects Baby Clothing in the submitted form, they will get redirected to http://babyclothing.com/landing-page/. The same thing goes for when a user selects Baby Accessories in the submitted form, they will get redirected to http://babyaccessories.com/landing-page/.

Common questions

What will happen if I don't create a form action?

If you have not created a Confirmation form action, the default message from the Formidable → Global settings will be displayed. If you have created at least one Confirmation form action, it will work as the current version.

Can I create multiple form actions?

You can create multiple Confirmation actions for your form.

  • If you have both Show message and Show page content actions, both actions get triggered and it will show both of them.
  • If you have multiple Redirect to URL actions, it will redirect to the first action's URL instantly. To specify when the Redirect to URL actions is triggerd, use conditional redirects.
  • If you have both Redirect to URL and Show message, Redirect to URL and Show page content, or all of them, all these actions will get triggered and show all messages and page contents for 8 seconds, then redirect to the first matched action's URL.
Tip: If you need to change the delay time, use this code example.

Related developer hooks

  • Manipulate a form's success message with the frm_success_filter hook.
  • Prevent redirect action when updating an entry with the frm_success_filter hook.
  • Filter the Confirmation actions that meet the conditional logic with the frm_get_met_on_submit_actions hook.
  • Filter the run success action args with the frm_get_run_success_action_args hook.
  • Filter the delay time before redirecting when the Confirmation Redirect form action is delayed with the frm_redirect_delay_time hook.

Related Articles

  • How to Display a Custom Success Message in WordPress How to Display a Success Message in WordPress [3 Steps!]
    Read More
  • Show message
  • Redirect to URL
    • Redirect to page on same site
    • Redirect to different site
    • Redirect using separate values
  • Show page content
    • Form confirmation page
  • Conditional redirect
    • Conditional redirect to a page on your site
    • Conditional redirect to a different site
  • Common questions
    • What will happen if I don't create a form action?
    • Can I create multiple form actions?
  • Related developer hooks
  • Related Articles
Categories
×

Categories

  • Installation & Getting Started
  • Account Management
  • Forms
  • Entries
  • Views
  • Styles
  • Importing & Exporting
  • Add-Ons
  • Extend Formidable Forms

Using WordPress and want to get Formidable Forms for free?

Get Formidable Forms Lite Now

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

Take on bigger projects Right Now

Get the tools you need to revolutionize your workflow and architect a masterpiece. Build the most advanced WordPress forms and actually use the data you collect in meaningful ways.

Get the most advanced WordPress form plugin and the only form builder with integrated Views.

Get Formidable Forms Now

Resources

  • Community
  • Affiliates
  • Contact
  • Free Online Form Builder

Top Features

  • Application Builder
  • Calculator Forms
  • Surveys & Polls
  • Quiz Maker
  • Form Templates
  • Application Templates
  • Directories
  • Donation Plugin

Company

  • About Us
  • Giving Back
  • Careers
  • Newsletter
  • WP Tasty
  • Nutrifox

Copyright © 2023 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.
Privacy Policy | Terms of Service | Sitemap

Join 300,000+ using Formidable Forms to create form-focused solutions fast. Get Started See User Reviews