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.

Conditional Logic on submit

  1. EngineMarketing
    Member

    We are making a questionnaire with just YES or NO answers and when you click submit it notices if you have clicked no and it will take you to a certain page depending on the question.
    How do i do this?

    Posted 9 years ago on Wednesday January 16, 2013 | Permalink
  2. a PHP page. Post values to that

    like redir.php?question={field from gravityforms merge tag her} .. yes / no

    fil

    <?php
    if $_GET=="yes"{
    header: http://url ;
    }
    else {
    header-loc ? (i forget): http://blsdasd.com
    }
    ?>
    Posted 9 years ago on Wednesday January 16, 2013 | Permalink
  3. lol i butchered that

    $_GET['question']=="yes"

    Posted 9 years ago on Wednesday January 16, 2013 | Permalink
  4. You can also use the gform_confirmation filter and check for your yes or no answers, and change the URL of the page you direct them to. http://www.gravityhelp.com/documentation/page/Gform_confirmation

    Posted 9 years ago on Wednesday January 16, 2013 | Permalink
  5. EngineMarketing
    Member

    Cheers guys you are life savers

    Posted 9 years ago on Wednesday January 16, 2013 | Permalink

This topic has been resolved and has been closed to new replies.