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 Form Actions

  1. Is there a way to have a form submit to different/custom URLs based on a prior radio button entry?
    For example:

    Favorite Fruit?
    Apples
    Bananas
    Mango

    If apples is selected form action is http://www.someurl.com/apples.php
    If bananas is selected form action is http://www.someurl.com/bananas.php
    If mango is selected form action is http://www.someurl.com/mango.php

    Posted 7 years ago on Tuesday March 19, 2013 | Permalink
  2. David Peralty
    Administrator

    No, there isn't a way to do this currently. You would need to use gform_after_submission
    http://www.gravityhelp.com/documentation/page/Gform_after_submission and then you could route the information based on user selection. Or you could use our new 1.7 Beta where you can set conditional redirects and use query strings to pass data.

    Posted 7 years ago on Tuesday March 19, 2013 | Permalink
  3. Thanks David.

    Posted 7 years ago on Tuesday March 19, 2013 | Permalink

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