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.

Dynamic options for dropdown?

  1. gfors
    Member

    Hey,

    I'm creating a form where I wan't to populate a dropdown list with values from custom fields, in this case we're talking about dates.

    I have a list of dates for the post as custom fields, and now I wan't to be able to generate a dropdown in the form for the user to choose a date from.

    I've looked into the Gform_field_value_$parameter_name filter, but that doesn't seem to apply to actually adding "option => value" combinations to the dropdown, or am I missing something? No matter what I try, the dropdown still only displayes the choices that are set for the form field in the WP settings.

    Extremely grateful for any assistance!

    Posted 13 years ago on Tuesday April 12, 2011 | Permalink
  2. Here is a thread that discusses how to dynamically populate a drop down:

    http://www.gravityhelp.com/forums/topic/automatically-populate-a-dropdown-with-post-titles

    Posted 13 years ago on Tuesday April 12, 2011 | Permalink