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.

Dynamically Populate Text Field Based on Select List (Multiple Choice)

  1. Sorry if this has been ask/answered before but I search quite extensively...

    What I was wondering was whether it was possible to have a select list (multiple choice list) in Gravity forms, and then based on the selection in this list one or more text fields would be populated. Examples: I have four different office locations in a select list; contact related fields (phone #, address, email) for each office would be populated based on which option I select.

    Probably requires some PHP and Ajax, but thought I'd check if someone has the framework for this that I could work from as it would be pretty handy for a lot of folks I would imagine.

    Thanks!
    Trevor

    Posted 12 years ago on Thursday May 5, 2011 | Permalink
  2. This could be done but you would have to do this customization using jQuery based on the drop down selection. I'm not aware of any code samples for this that currently exist. But it should be possible, although it requires writing custom jQuery to implement.

    Posted 12 years ago on Friday May 6, 2011 | Permalink