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.

auto populate drop down menu

  1. Hi, I apologize if this question has been asked before, and if so please direct me to the right placeā€¦ I was wondering if it is possible to auto populate a drop down option based on the link that is clicked on. For example lets say I have a choice of places in a drop down menu in a form and I had links to that form from various places on my site and each link was related to a specific place in that drop down menu. Is there some way to have the drop down menu automatically select the place based on which link was clicked, therefor preventing the user from having to select the option? Or would it be easier to just create separate forms for each place?
    Does any of this make sense?

    Posted 11 years ago on Saturday January 26, 2013 | Permalink
  2. Can you show us an example of your form online now so we can see what you mean exactly?

    It sound like you want to pre-select a choice in your form drop down, based on where the visitor is coming from on your site. If that's the case, you need to set up the drop down to "Allow field to be populated dynamically" (this is a checkbox on the advanced tab) and then give is a parameter name (maybe source).

    Then, in your links in the pages which feed the form, you would add the ?source=Vacations or ?source=Buffalo to send your selection to your form. If the parameter you send matches one of the drop down choices exactly, that choice will be pre-selected.

    Take a look at this form:
    http://gravity.chrishajer.com/family-reunion-rsvp/?meal=Meat

    That is what your link would look like in the pages which feed your form. You would change the "Meat" in the query string to any of the choices in your drop down. The choices in mine are Vegetarian, Vegan, Meta and No Meal. Try those or try something else, and see how the drop down changes.

    Posted 11 years ago on Wednesday January 30, 2013 | Permalink