• Resolved SG2015

    (@stratogrid2015)


    Hello,

    Looks like that form (AJAX) is not working after I enable Aggregate JS-files option (Optimise JavaScript Code section).

    Any ideas? Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    ok, so some questions/ remarks;
    * any JS errors on the browser console?
    * i think you’re also using “async javascript” (or something similar), maybe disable that while troubleshooting.
    * maybe try adding plugins/gravityforms to the comma-separated JS opt. exclusion list?

    Thread Starter SG2015

    (@stratogrid2015)

    Tried adding plugins/gravityforms – not working.

    I see this error on the console Uncaught ReferenceError: jQuery is not defined – gravityforms.min-2.4.18.js:1

    Force JavaScript in <head> helped with that form, but broke other things.

    I disabled all JS cashing on WP-Rocket – the same problem

    Thanks

    • This reply was modified 4 years, 9 months ago by SG2015.
    • This reply was modified 4 years, 9 months ago by SG2015.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Uncaught ReferenceError: jQuery is not defined

    implies jQuery is either being aggregated or asynced/ deferred, you’ll have to make sure neither is the case.

    I have exactly same problem When I enable autoptimize, form (AJAX) is not working after I enable Aggregate JS-files.
    I have to disable autoptimize from form works.
    Any ideas?
    Here is website URL: https://www.jadid-alwadifa.com/
    Can you Help me please!
    Thank you.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    as per the forum guidelines start your own topic jadidalwadifa and in there provide a link to a page with a form?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved stratogrid2015 ? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Ajax not working on the forms’ is closed to new replies.