Title: Next Button broken
Last modified: March 9, 2021

---

# Next Button broken

 *  [muvonigid](https://wordpress.org/support/users/muvonigid/)
 * (@muvonigid)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/next-button-broken/)
 * In the latest Plugin / WordPress versions i get a
    “wpcf7.getId is not a function”
   error in console:
 * Uncaught TypeError: wpcf7.getId is not a function
    step_validate /wp-content/
   plugins/contact-form-7-multi-step-addon/assets/js/scripts.min.js?ver=1.0.1:1 
   init /wp-content/plugins/contact-form-7-multi-step-addon/assets/js/scripts.min.
   js?ver=1.0.1:1 jQuery 9 dispatch handle add ke each each ke on n init /wp-content/
   plugins/contact-form-7-multi-step-addon/assets/js/scripts.min.js?ver=1.0.1:1 
   trx_mscf_ajax /wp-content/plugins/contact-form-7-multi-step-addon/assets/js/scripts.
   min.js?ver=1.0.1:1 jQuery 2 each each trx_mscf_ajax /wp-content/plugins/contact-
   form-7-multi-step-addon/assets/js/scripts.min.js?ver=1.0.1:1 <anonymous> /wp-
   content/plugins/contact-form-7-multi-step-addon/assets/js/scripts.min.js?ver=
   1.0.1:1 jQuery 13 e t setTimeout handler*l/< c fireWith fire c fireWith ready
   B EventListener.handleEvent* <anonymous> <anonymous> scripts.min.js:1:1790 step_validate/
   wp-content/plugins/contact-form-7-multi-step-addon/assets/js/scripts.min.js?ver
   =1.0.1:1 init /wp-content/plugins/contact-form-7-multi-step-addon/assets/js/scripts.
   min.js?ver=1.0.1:1 jQuery 9 dispatch handle (Async: EventListener.handleEvent)
   add ke each each ke on n init /wp-content/plugins/contact-form-7-multi-step-addon/
   assets/js/scripts.min.js?ver=1.0.1:1 trx_mscf_ajax /wp-content/plugins/contact-
   form-7-multi-step-addon/assets/js/scripts.min.js?ver=1.0.1:1 jQuery 2 each each
   trx_mscf_ajax /wp-content/plugins/contact-form-7-multi-step-addon/assets/js/scripts.
   min.js?ver=1.0.1:1 <anonym> /wp-content/plugins/contact-form-7-multi-step-addon/
   assets/js/scripts.min.js?ver=1.0.1:1 jQuery 13
 * Any idea on whats going on?

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

 *  Thread Starter [muvonigid](https://wordpress.org/support/users/muvonigid/)
 * (@muvonigid)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/next-button-broken/#post-14160727)
 * This has something to do with the latest contact Form 5.4 Version.
    Reverted 
   back to a version before and it is working again.
 *  [Web1776](https://wordpress.org/support/users/commareus/)
 * (@commareus)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/next-button-broken/#post-14175214)
 * This fixes it for me:
 * **contact-form-7-multi-step-addon/assets/js/scripts.js**
 * Change line 91
 * `+ '&'+ 'trx_form_id=' + wpcf7.getId( $('form', $container) )`
 * to this:
 * `+ '&'+ 'trx_form_id=' + parseInt( $( 'input[name="_wpcf7"]', $container ).val(),
   10 )`
 *  [Dev](https://wordpress.org/support/users/devadattas/)
 * (@devadattas)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/next-button-broken/#post-14514920)
 * Any updates on when this patch would be applied on the plugin update?

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

The topic ‘Next Button broken’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-multi-step-addon/assets/icon-128x128.png?
   rev=2000961)
 * [Contact Form Multi-Step Addon](https://wordpress.org/plugins/contact-form-7-multi-step-addon/)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-multi-step-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-multi-step-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-multi-step-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-multi-step-addon/reviews/)

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [step](https://wordpress.org/support/topic-tag/step/)

 * 3 replies
 * 3 participants
 * Last reply from: [Dev](https://wordpress.org/support/users/devadattas/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/next-button-broken/#post-14514920)
 * Status: not resolved