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.

Page redirect based on drop-down menu selection

  1. Asa
    Member

    I'm building a form to help viewers figure out which product they should use. Once they've selected their intended usage, I'd like them to be redirected to the appropriate product page. Is it possible to do this with Gravity Forms?

    Here's the URL - (the site is still under construction, so most of it is pretty rough at the moment):

    http://69.89.31.99/~dynamil5/?page_id=6

    Posted 14 years ago on Thursday October 7, 2010 | Permalink
  2. Currently this isn't a feature of Gravity Forms, there is only one confirmation action and it isn't conditional.

    However, it is possible to do this via a customization.

    Create a custom PHP page that does the redirect based on a value passed to it via the query string.

    Edit your form, and point your confirmation redirect to this PHP page then use the query string builder to pass the value of a drop down field where the product is selected to this PHP page via the query string.

    Then have your custom PHP page do the redirect.

    Posted 14 years ago on Thursday October 7, 2010 | Permalink
  3. Asa
    Member

    Far beyond my PHP skills, unfortunately, and it would probably cost less to just program a form from the ground up than to make it work with Gravity Forms (since I'll have to hire a PHP expert either way).

    Great product otherwise, though. Thanks for your help.

    Asa

    Posted 14 years ago on Friday October 8, 2010 | Permalink
  4. You could always add HTML fields that include a button graphic or link to the right product rather than an automatic redirect. Use the conditional logic feature to hide the button/link to begin with, and then reveal the appropriate one once they've made their selections.

    Posted 14 years ago on Saturday October 9, 2010 | Permalink