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.

Drop down dynamic selection (not dynamically populating a form)

  1. Hi everybody. After searching the forum I found a lot of answers about dynamically populating drop downs, but I can't found how to proceed for selection. I mean: I already have a gravity form populated by the standard editor. For example I already have a drop down ID_1, with a list of colors: red, blue, green. Default selected value is blue, but I'd like to be able to reach the form and add a different default selection by URL (i.e. adding ?default_color=green or something similar). Would it be possible?
    Kind regards.

    Posted 11 years ago on Friday September 14, 2012 | Permalink
  2. I have asked the developers for feedback on this one. I'm, not sure within Gravity Forms if there is a way to do this or not.

    Posted 11 years ago on Saturday September 15, 2012 | Permalink
  3. If you check the "Allow this field to be populated dynamically" box on the advanced tab, and give it a parameter name like "color_choice" you can pass the value just as you expected, and that will become the selected value. Basically, try it just as you expected it to work. Be sure to add the parameter name to be populated dynamically, and them pass it like so:

    ?color_choice=green

    That will make green the selected value when the form loads.

    Posted 11 years ago on Tuesday September 18, 2012 | Permalink
  4. Thanks Chris! It worked like a charm! Easier than I thought :)

    Posted 11 years ago on Wednesday September 19, 2012 | Permalink
  5. Much easier than I thought too :-)

    Thanks for the update.

    Posted 11 years ago on Thursday September 20, 2012 | Permalink

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