• Resolved Jason Lefkowitz

    (@jalefkowit)


    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, if it’s useful.

    https://www.ads-software.com/plugins/repeater-add-on-for-gravity-forms/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JavaScript error on multi-page forms’ is closed to new replies.