Title: Dependent Select fields
Last modified: May 13, 2020

---

# Dependent Select fields

 *  [samben28](https://wordpress.org/support/users/samben28/)
 * (@samben28)
 * [6 years ago](https://wordpress.org/support/topic/dependent-select-fields/)
 * Hi,
    is there any chance you could add the dependent select fields. Like when
   we select a country from a list another list of cities automatically populate.
   This would be really helpful.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [6 years ago](https://wordpress.org/support/topic/dependent-select-fields/#post-12838789)
 * Hello,
 * Thanks for the feedback. ACF already provide fields “conditional logic”, so you
   can display a specific “city” field when “country” has a choice selected. What
   you want is to generate a custom ajax call to populate the second field, based
   on the first one.
 * You’ll need some extra JS code to do it. You’ll find the ACF JS documentation
   here: [https://www.advancedcustomfields.com/resources/javascript-api/](https://www.advancedcustomfields.com/resources/javascript-api/)
 * I’m not quite sure how to offer an UI withh an automated setting for such setup.
   I’ll try to think about it, see what can be done.
 * Regards.

Viewing 1 replies (of 1 total)

The topic ‘Dependent Select fields’ is closed to new replies.

 * ![](https://ps.w.org/acf-extended/assets/icon-256x256.png?rev=2071550)
 * [Advanced Custom Fields: Extended](https://wordpress.org/plugins/acf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-extended/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/dependent-select-fields/#post-12838789)
 * Status: not a support question