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 Drop Down

  1. I have a client who wants to have a drop down field with a list of people. If a user selects one of these people another drop down list below provides a list of elements(20 or so) based on the person chosen. I hope this makes sense. Reading through the dynamic drop down Docs not sure if this is possible.

    Posted 12 years ago on Wednesday August 3, 2011 | Permalink
  2. It's possible but you'd have to use jQuery to do so. You wouldn't do it using hooks/filters, you'd do it based on their selection and then use jQuery to populate the drop down dynamically. I'm not aware of any examples of doing this on the support forums.

    Posted 12 years ago on Wednesday August 3, 2011 | Permalink
  3. Wow! Carl thanks for the really quick response. Using jquery is it possible to do this within the Gravity form?

    Posted 12 years ago on Wednesday August 3, 2011 | Permalink
  4. Yes, you could write custom jQuery that populates fields, etc. and attaches to existing elements. It's all standard HTML/CSS/JS so if you write jQuery it to target and manipulate those fields it should work.

    Posted 12 years ago on Wednesday August 3, 2011 | Permalink