• Resolved Imageworldsdream

    (@worldsdream)


    Hi there,

    Did you move over from jQuery to Vanilla JS? Or is it still required to load jQuery on the front-end? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support ImageAmimul Ihsan

    (@amimulihsanmahdi)

    Hi there,

    jQuery is required on the front-end. While we are transitioning more components to Vanilla JS, the file upload field specifically has a dependency on jQuery to function correctly.

    Thank you

    Thread Starter Imageworldsdream

    (@worldsdream)

    Hi @amimulihsanmahdi,

    Thank you for your reply. That sounds good. I’m very happy to hear that.

    So if I add a form and don’t use the “file upload field”, it will not load jQuery anymore?

    Hi @worldsdream,

    Some others and I have also suggested that the team remove the jQuery dependency in the past (here, github, official support page), but I guess the issue is that the main form-submission.js file is around 1,700 lines long and heavily depends on jQuery (with and without file upload). Refactoring that would take hours of dev work without fixing any visible issue or adding a new feature. And, realistically, 99% of users don’t care that much about performance – or don’t even know what jQuery is. Fluent Forms is the only plugin I use that still depends on jQuery, but there aren’t many alternatives with the same level of features that don’t also rely on it, so I’ve just accepted that fact.

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

You must be logged in to reply to this topic.