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.

Default value on dynamically populated dropdown?

  1. I've got a form with a bunch of dropdowns (10 of them) which I dynamically populate by taxonomies.

    The problem I got is that there seems to be no way to actually choose one of the taxonomy terms with it's value as selected by default. If I try to do this and saves the form, instead of the actual term being selected a duplicated choice with no value is created. (Doing this at the admin page for GF).

    How do I get around this? Do I have to do this by filters (not to fun with that many fields)?

    Posted 12 years ago on Thursday April 19, 2012 | Permalink
  2. David Peralty

    Unfortunately, the only way I know of to do what you want is through the use of filters. Either by making a non-choice default to what you want, or by filtering before displaying so that it is the default.

    Posted 12 years ago on Thursday April 19, 2012 | Permalink
  3. I have the same need--value gets replaced. Do you have an example of how to filter and assign a value?

    Posted 12 years ago on Thursday June 14, 2012 | Permalink