PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Re: On Submit direct to one of two confirmation pages based on selection in form

  1. Ok I have one form but I have two types of enquiries on my website one is appointment enquiry which I direct to a confirmation page which is linked to my google analytics for goal completions.

    The second type of enquiry is a general or other enquiry from my blog which I want to direct to a different page that I will not be tracking via google with goal completions.

    How do i set this up I have had a look at the submit button and it appears it cannot do this. What are my options on how to do this please

    Thanks
    Rodney

    Posted 11 years ago on Monday December 24, 2012 | Permalink
  2. You can use the gform_confirmation filter to change the redirect URL based on your form input http://www.gravityhelp.com/documentation/page/Gform_confirmation

    The code you create will go in your theme's functions.php file.

    Posted 11 years ago on Monday December 24, 2012 | Permalink
  3. I found a couple of pages where people have done the hard work for us already I would have been nice if you had given me the links to these pages or link to them in your documentation or something.
    The pages are
    http://zackeryfretty.com/redirect-to-a-specific-url-based-on-submissions-with-gravity-forms/

    http://gravitywiz.com/2012/08/04/better-pre-submission-confirmation/

    http://gravitywiz.com/2012/08/18/conditional-confirmations/

    I prefer the first one it is by far the easiest to implement and I only want to redirect to one of two confirmation pages one is for google goal tracking.

    Posted 11 years ago on Thursday December 27, 2012 | Permalink
  4. I had not seen that first page. Thank you for posting it here. Is everything working for you OK now?

    Posted 11 years ago on Friday December 28, 2012 | Permalink