Title: Theme Customizer: Dynamic Customizer Controls via JavaScript
Last modified: August 21, 2016

---

# Theme Customizer: Dynamic Customizer Controls via JavaScript

 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/theme-customizer-dynamic-customizer-controls-via-javascript/)
 * I’m using the [Theme Customization API](https://codex.wordpress.org/Theme_Customization_API)
   and I have a control (a select drop-down) that, when changed, I want to hide 
   or show another control (in this case, a checkbox).
 * This would need to be done via JavaScript to make the process seamless for the
   user (doing it via PHP would require hitting “Save and Publish” and then coming
   back to the Customizer to see the new control).
 * I’ve searched around but cannot find any good examples of this in action. Does
   anyone have any advice?

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

 *  [jfitzsimmons2](https://wordpress.org/support/users/jfitzsimmons2/)
 * (@jfitzsimmons2)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/theme-customizer-dynamic-customizer-controls-via-javascript/#post-4369923)
 * I’m currently in the same position. I’m looking for a way to show additional 
   options based on what previous options are selected. I think I can figure out
   how this is done, just haven’t had time to test it. I’ll report back if I figure
   out a solution.
 *  Thread Starter [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/theme-customizer-dynamic-customizer-controls-via-javascript/#post-4369924)
 * Please do report back if you come up with a solution! I’d love to improve the
   usability of the theme customizer in my themes where there are options that aren’t
   relevant until another option is enabled/disabled.

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

The topic ‘Theme Customizer: Dynamic Customizer Controls via JavaScript’ is closed
to new replies.

## Tags

 * [control](https://wordpress.org/support/topic-tag/control/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [theme customizer](https://wordpress.org/support/topic-tag/theme-customizer/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/theme-customizer-dynamic-customizer-controls-via-javascript/#post-4369924)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
