Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Dynamic custom values in Gravity Form dropdown WordPress

  • SOLVED

Hi -

We need some help with a Gravity Forms dropdown field. We're populating the dropdown dynamically (with venue names) from a WordPress query on a custom post type (tribe_venue).

However, we'd like to add the name of the city that the venue is in(from another custom post field - venue-city) after the venue name in the dropdown.

Can anyone help with some code - maybe JS - that will allow us to suffix the venue name with the city from the custom field?

Thanks
Marcus

Answers (3)

2014-01-19

Arnav Joy answers:

Hello Markus ,

I would like to help you for this , can you show us your form please.
Also let us know name of the custom field.

2014-01-19

Kyle answers:

Hi Marcus,

Again, I can help you out. The venues are actually their own custom post type. If you message me I can write you something.

Kyle

2014-01-19

Bob answers:

You mean you want to contact "venue name" and "venue city" and display it in single dropdown right?