Title: JavaScript error on multi-page forms
Last modified: August 30, 2016

---

# JavaScript error on multi-page forms

 *  Resolved [Jason Lefkowitz](https://wordpress.org/support/users/jalefkowit/)
 * (@jalefkowit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-on-multi-page-forms/)
 * I think I may have run into a bug. I’ve been testing this plugin with a multi-
   page form I’m working on (splitting into pages using GF’s standard Paging & Page
   Break elements), and when I look at the first page of the form on the front end
   and click “Next” to move on to the next page, nothing happens. (Not even the 
   usual GF validation that checks for required fields, etc.)
 * Watching in the console as I tried this, I see the following stack trace that
   indicates the problem is a bug in some jQuery JS code in the file repeater-add-
   on-for-gravity-forms/js/jquery.postcapture.min.js:
 *     ```
       17:11:16.994 TypeError: b is undefined
       a.fn.capture/b() jquery.postcapture.min.js:5
       m.event.dispatch() jquery.js:4
       m.event.add/r.handle() jquery.js:4
       m.event.trigger() jquery.js:4
       e.event.trigger() jquery-migrate.min.js:2
       .trigger/<() jquery.js:4
       .each() jquery.js:2
       m.prototype.each() jquery.js:2
       .trigger() jquery.js:4
       onclick() nn16-panel-submissin:1
       1 jquery.postcapture.min.js:5:31344
       ```
   
 * It appears to only be a problem when the form contains at least one repeater 
   container; I tried removing all repeater containers and it went away. Switching
   GF in and out of no-conflict mode didn’t change the behavior.
 * For reference, I’m seeing this in Firefox 43 on Ubuntu. (Haven’t tried it in 
   other browsers or OSes yet, so it may be platform-specific.) [More info on my browser environment can be found here,](http://whatsmybrowser.org/b/DN5SRRW)
   if it’s useful.
 * [https://wordpress.org/plugins/repeater-add-on-for-gravity-forms/](https://wordpress.org/plugins/repeater-add-on-for-gravity-forms/)

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

 *  Plugin Author [Kodie Grantham](https://wordpress.org/support/users/kodiegrantham/)
 * (@kodiegrantham)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-on-multi-page-forms/#post-6862345)
 * Hey Jason! Thank you for all of the information! I’m working for a patch for 
   this bug now!
 *  Plugin Author [Kodie Grantham](https://wordpress.org/support/users/kodiegrantham/)
 * (@kodiegrantham)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-on-multi-page-forms/#post-6862353)
 * 1.0.7.1 contains the fix and has been released!
 *  Thread Starter [Jason Lefkowitz](https://wordpress.org/support/users/jalefkowit/)
 * (@jalefkowit)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-on-multi-page-forms/#post-6862528)
 * Apologies for the long delay in responding — the holidays landed on me 😀
 * Just wanted to confirm that the fix solves the problem on my end, and to say 
   thanks for your assistance!

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

The topic ‘JavaScript error on multi-page forms’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/repeater-add-on-for-gravity-forms_f9f9f9.
   svg)
 * [Gravity Forms Repeater Add-On](https://wordpress.org/plugins/repeater-add-on-for-gravity-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/repeater-add-on-for-gravity-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/repeater-add-on-for-gravity-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/repeater-add-on-for-gravity-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/repeater-add-on-for-gravity-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/repeater-add-on-for-gravity-forms/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Jason Lefkowitz](https://wordpress.org/support/users/jalefkowit/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-on-multi-page-forms/#post-6862528)
 * Status: resolved