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.

City/Location Field Setup

  1. grtech
    Member

    Hello,

    Is it possible to set-up a city drop down and a location drop down whose fields are filtered by the city selection? Then when they click submit, take them to that location's page for the contact info? From looking at the documentation it looks like I could probably do the field part with condition fields but I don't understand how I'd forward to a specific location page.

    Thanks.

    Posted 12 years ago on Monday November 12, 2012 | Permalink
  2. David Peralty

    You could use the following hook and some PHP to do a conditional redirect:
    http://www.gravityhelp.com/documentation/page/Gform_confirmation

    Posted 12 years ago on Monday November 12, 2012 | Permalink
  3. grtech
    Member

    Using this method, how would I code it so that depending on the location's value to redirect to a page? it looks like it just redirects from different forms.

    Posted 12 years ago on Monday November 12, 2012 | Permalink
  4. David Peralty

    Basically, the way this works is that it replaces your normal form confirmation. You can have it redirect anywhere. Basically, looking to see what was chosen, and then going where you tell it (another page, another form, another website).

    Posted 12 years ago on Monday November 12, 2012 | Permalink