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.

Redirect based on radio button option

  1. As of now it appears that the only way to redirect a form to another specific form based on the users selection of radio button option is to redirect to an external php file. The php file then watches for a specific query string and redirects based on that.

    $agree = $_GET['agree'];
            switch ($agree)
            {
                 case “radio-option-a“:
                 header(“Location: domain.com/new-form“);
            }

    Is this correct?

    We have a developers license and usually get support via email but this seems like a good topic to put out in the open.

    Posted 5 years ago on Sunday March 24, 2013 | Permalink
  2. I'm certain that's not the only way to do it. Are you trying to reload a different page immediately upon the radio button selection? If so, this jQuery would work: http://stackoverflow.com/a/8681585

    If you're trying to do something else, please post an example or explain further. Thank you.

    Posted 5 years ago on Monday March 25, 2013 | Permalink