Title: Conditional Select Field
Last modified: August 31, 2016

---

# Conditional Select Field

 *  Resolved [dmarzean](https://wordpress.org/support/users/dmarzean/)
 * (@dmarzean)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/)
 * Forgive me if this is a simple problem…
 * I am new to this and I am using Superlist theme that uses CMB2.
 * I have set up city and state as custom taxonomy. City is child of state. What
   would be the easiest way to have two select fields one with state and one with
   cities conditional on the state?
 * Is this even possible?
 * [https://wordpress.org/plugins/cmb2/](https://wordpress.org/plugins/cmb2/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272587)
 * This may help with your need: [https://github.com/jcchavezs/cmb2-conditionals](https://github.com/jcchavezs/cmb2-conditionals)
 * Example usage for reference: [https://github.com/jcchavezs/cmb2-conditionals/blob/master/example-functions.php](https://github.com/jcchavezs/cmb2-conditionals/blob/master/example-functions.php)
 *  Thread Starter [dmarzean](https://wordpress.org/support/users/dmarzean/)
 * (@dmarzean)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272608)
 * Thank you Michael!
 * I am looking at the field types and I am wondering if it is possible to have 
   an auto-populating input field for taxonomies…
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272644)
 * Auto-populating in what way? Whittling down as you type? Just a dropdown full
   of available taxonomies/terms right away?
 *  Thread Starter [dmarzean](https://wordpress.org/support/users/dmarzean/)
 * (@dmarzean)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272646)
 * Autocomplete while typing
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272650)
 * Perhaps [https://github.com/mustardBees/cmb-field-select2](https://github.com/mustardBees/cmb-field-select2)
 *  Thread Starter [dmarzean](https://wordpress.org/support/users/dmarzean/)
 * (@dmarzean)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272656)
 * Your AWESOME! Amazing plugin
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272659)
 * Welcome 🙂
 *  Thread Starter [dmarzean](https://wordpress.org/support/users/dmarzean/)
 * (@dmarzean)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272844)
 * Michael,
 * Do you have a trick for adding a text field that will populate a taxonomy?
 * I see select, radio and checkbox but no text field.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272845)
 * Nope, I don’t have any personal experience with that one.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Conditional Select Field’ is closed to new replies.

 * ![](https://ps.w.org/cmb2/assets/icon.svg?rev=2866672)
 * [CMB2](https://wordpress.org/plugins/cmb2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cmb2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cmb2/)
 * [Active Topics](https://wordpress.org/support/plugin/cmb2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cmb2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cmb2/reviews/)

## Tags

 * [conditional field](https://wordpress.org/support/topic-tag/conditional-field/)

 * 9 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/conditional-select-field/#post-7272845)
 * Status: resolved