Title: Input &#8211; onchange event?
Last modified: August 30, 2016

---

# Input – onchange event?

 *  Resolved [xw7](https://wordpress.org/support/users/xw7/)
 * (@xw7)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/input-onchange-event/)
 * Is it possible to have an input field with an onchange event?
 * We have all the correct fields, however we need to trigger an event on change
   on one of the inputs.
 * Thank you.
 * [https://wordpress.org/plugins/cmb2/](https://wordpress.org/plugins/cmb2/)

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 10 months ago](https://wordpress.org/support/topic/input-onchange-event/#post-6662882)
 * Should be, without having to do anything specific to the CMB2 code. Just enqueue
   your own js file and use `jQuery.on()` with it and a selector that targets the
   intended input field.
 * [http://api.jquery.com/on/](http://api.jquery.com/on/)
 *  Thread Starter [xw7](https://wordpress.org/support/users/xw7/)
 * (@xw7)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/input-onchange-event/#post-6663009)
 * I didn’t even know this was possible without hardcoding! Saved me a lot of time.
 * Keep up the good work, CMB2 is excellent.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 10 months ago](https://wordpress.org/support/topic/input-onchange-event/#post-6663042)
 * You’re welcome, and thank you 🙂

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

The topic ‘Input – onchange event?’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/input-onchange-event/#post-6663042)
 * Status: resolved