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 Redirection based upon form entry

  1. I'm trying to set up an age verification form for a client. If a visitor verifies they are 21 (it's for a distillery site) they are directed to the home page but if they say they are not I'd like to redirect them to a different page letting them know they must be 21 to enter the site. Is this possible?

    http://michellevgustafson.com/blueflame

    Thanks,

    Posted 13 years ago on Wednesday July 4, 2012 | Permalink
  2. David Peralty

    Conditional redirection isn't built into Gravity Forms as of yet. For such a simple form, I would recommend just hard coding it in PHP to make happen.

    Something similar to the following should be fine:
    http://www.technicaltalk.net/index.php?topic=3947.0

    Posted 13 years ago on Wednesday July 4, 2012 | Permalink
  3. Thanks David for your quick response, I was sure everyone would be off enjoying the holiday. :)

    Admittedly, I'm really not sure how I would implement the code you've directed me to in WordPress.

    Are there any plans to add this functionality in future releases?

    Posted 13 years ago on Wednesday July 4, 2012 | Permalink
  4. David Peralty

    There are plans to add it in the future, but I am unsure when.

    As for how to implement it, if you are completely unsure, a PHP developer could be hired, probably even for five or ten dollars to implement such a script on your site. The advantage of not putting something like this into a Gravity Form (which would require more customization to do) is that it won't be creating entries in your database either, saving space, and keeping your site run zippy.

    Posted 13 years ago on Wednesday July 4, 2012 | Permalink