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.

After (radio button) answer go to certain page...

  1. dear anyone

    I am making a website and want to achieve the following:

    A client can fill in a form: when he selects a question in a form he should be directed to a certain page.

    so when i want to get in touch and he/she selects that > the client goes to the contact page,
    when he wants to see more project > the client goes to the portfolio page.

    How to acchieve it?

    Posted 11 years ago on Friday February 1, 2013 | Permalink
  2. You can use this snippet from our developer David Smith to conditionally direct people who submit your form to different pages based on their choices:

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

    Posted 11 years ago on Saturday February 2, 2013 | Permalink
  3. Thank you for you answer, I pasted the code in the functions.php,

    and then, the id of the form is given in the wordpress admin, but how to find the fields and values?

    i have made an example (and unswitched ajax)
    on http://formulier.vanbrent.nl/choice/

    is the field id "input_9_1"? or is it choice_1_0
    and the value "Vanbrent" / "Google"/ "Woudagames"

    then the lines of the confirmation, where to put them,
    thought i should add this: add_conditional_confirmation(9, 1, 'is', 1, array('redirect' => 'http://vanbrent.nl'));
    in the functions.php but it broke my site.

    hope you can help me out

    Posted 11 years ago on Saturday February 2, 2013 | Permalink
  4. If editing your functions.php breaks your site, you have edited it incorrectly. Please paste the edited functions.php at pastebin.com or pastie.org so we can take a look for syntax errors.

    The find the field edit, hover your mouse of the field in the Form Editor and you will see the field ID. Or, view the source of the page which is rendered with the form in it. You can find the input IDs there.

    Posted 11 years ago on Monday February 4, 2013 | Permalink