Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme.

    Thread Starter jleung1994

    (@jleung1994)

    @takayukister

    It seems like when the person did my custom page did this.
    <script src=”/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js”></script>
    I checked, and the plugin folder does not have this file.

    Is it moved to another directory?

    Or it’s no longer needed and I should removed the link?

    My redirection doesn’t work either.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    You don’t need it. Just remove it.

    Thread Starter jleung1994

    (@jleung1994)

    @takayukister
    thanks for confirming. jquery.form.min.js removed

    how come the redirection doesn’t work?
    this is the code I used

    <script type="text/javascript">
    document.addEventListener( 'wpcf7mailsent', function( event ) {
        if ( '11994' == event.detail.contactFormId || '9025' == event.detail.contactFormId || '12707' == event.detail.contactFormId) {
            location = 'https://example.com/';
        }
    }, false );
    </script>
    Robert Chalmers

    (@shanghaitimes)

    If you come across this problem you can fix it.

    $ curl -s https://raw.githubusercontent.com/jquery-form/form/v4.2.2/dist/jquery.form.min.js.map > jquery.form.min.js.map

    Then copy the file to the correct position. In my case /wp-includes/js/jquery/jquery.form.min.js.map

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘jquery.form.min.js loading failed’ is closed to new replies.