WAIT: Form submit button loads indefinitely

Hello,

I’m having a persistent issue with the contact form on my site. Here’s the full situation:

I originally had a Pro Forms contact form from Bricksforge. When I filled out the form and clicked “Submit,” the button would load indefinitely and nothing happened.
To troubleshoot, I tried replacing it with a standard Bricks form (not Pro Forms). Even then, the form still didn’t work.
I already tried to disabled LiteSpeed cache and purged all caches and tested in incognito mode (to eliminate browser cache).
Despite all this, the submit button still does nothing.

Any guidance on fixing this or correctly debugging the issue would be greatly appreciated!

Thanks in advance!

Hi @Wealster,

Please review the server error logs and check the network tab when you click “Submit” to find clues about why the request isn’t going through. In most cases, the issue is likely caused by a firewall blocking these requests.

Hello again,

Thanks for your suggestion.

In the browser console, when I click “Submit,” I get this error:

VM120:1 Uncaught (in promise) SyntaxError: Unexpected end of JSON input

From what I understand, this means the server isn’t returning valid JSON to the Ajax request.

But I have no ideas on how to fix it.

Do you have any ideas?

Thank you @charaf .

Could you please share a link to the forum so we can test? Or if you’d prefer to share it privately, please share it to help@bricksbuilder.io and include a link to this forum thread in your email so we can investigate further :slight_smile: