• Be careful before getting too excited with this plugin. It seems beautiful, lots of good reviews, but if your theme is not “PERFECT”, the plugin will not work.
    When I say “Perfect” I mean perfect for the plugin to be able to work.
    This is the message I get when I try to submit:

    “This page isn’t loading JavaScript properly, and the form will not be able to submit. Please check out our troubleshooting guide for details on resolving this issue.”

    I went through the troubleshooting guide, did everything they suggested, and nothing has changed.
    After some research I could see lots of people complaining about the same error and developers always blaming Optimization and Caching Plugins, and they request you to remove them in order to fix the error. If that’s not the source of problems, they blame YOUR theme.
    I changed the theme to the standard twenty-twenty two and it works, so I started debugging my onw theme.
    I deactivate all the plugins, deleted all javascript requests from my index.php and header.php, emptied functions.php.
    I ended up with only the very essential structure in my html in order to load the form. But nothing and always the same message. There was no JS in my page anymore, but the message was the same.
    I loaded in different browsers, in Incognito mode. Nothing.

    Really, I’m tired. There’s nothing wrong with my theme, all my plugin are working flawlessly and my website returns zero errors in the Console.

    My website is very simple, one page only, but apparently enough complicated for this plugin to work correctly

Viewing 1 replies (of 1 total)
  • Hi @danielsian,

    Sorry for the JavaScript issue you have been struggling with.

    Please note that if the proper JavaScript files are not loaded, our security measures in the form won’t allow the form to submit and will display this error message you are receiving.

    I’d suggest checking if the theme is loading the wpforms.min.js file.
    You can try getting the wpforms.js file under /wp-content/plugins/wpforms-lite/assets/js/ folder and copy the URL path of the file. Then you can follow the instructions shared in this documentation to manually load the file onto your website.

    I’d also ask you to check if your theme’s page template does have the wp_footer(); code. In case it helps, it’s an essential function that many plugins leverage to load assets onto pages, this also includes WPForms.

    And if that does not resolve the issue, could you please create a new thread in our WPForms Lite support forum with the details?

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘It returns error “JavaScript isn’t loading properly”’ is closed to new replies.