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.

Pre-selecting a drop down form option

  1. blackburn
    Member

    I am looking to pre-populate a dropdown list of pre-defined email contacts based on an html variable. For example, on Bill Smith's profile, there is a link that says "Click here to email Bill Smith" so when someone clicks that link, Bill Smith is already pre-selected in the dropdown list.

    I've looked through the documentation and figure it's pretty simple but can't find an answer. UItimately I'm looking for scenario 1 described below, but the documentation only details the more complex scenario 2.

    http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields

    "There are two ways you might want to populate a drop down field. The first way is pre-selecting a drop down option when the form is displayed. The second way is dynamically populating the options that are available in a select (aka drop down) field. This walk-through will teach you how to configure the latter."

    Thanks in advance!

    Posted 12 years ago on Tuesday July 10, 2012 | Permalink
  2. Check this page out:
    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    You should be able to just pass his name via the link url using a query string.

    Posted 12 years ago on Tuesday July 10, 2012 | Permalink
  3. blackburn
    Member

    Works like a charm. Thank you very much!

    Posted 12 years ago on Tuesday July 10, 2012 | Permalink
  4. Awesome - glad to help!

    Posted 12 years ago on Tuesday July 10, 2012 | Permalink

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