I’m doing a test submission on our website and get this error: “An error occurred when submitting the form, please try again.”
Any suggestions how to fix? Thank you!
I’m doing a test submission on our website and get this error: “An error occurred when submitting the form, please try again.”
Any suggestions how to fix? Thank you!
UPDATE: It seems the error is being caused by the reCAPTCHA. When I disable that feature, the form works and submits properly. But I would like to enable this for SPAM protection. Any ideas?
Thanks!
Hi there, @Juanima_Hiatt
To fix the issue, we need temporary access to your website’s backend. Here is an article, explaining how you can do this - Providing access to your GoDaddy website - Elfsight Help Center.
I see that you’ve already had a chat with my colleague Daria regarding this issue. Please let Daria know once the access is shared. She’ll pass your request on to the devs and keep you updated in a support ticket
Thanks, @Max !
I’m using Hostinger, and can only grant backend access if they’re hosting the domain. The domain is currently in the process of moving over to Hostinger, and I’ve asked the current registrant to manually approve it. As soon as they do, I’ll come back and let you know! Hopefully it’s soon.
Thanks again!
Got it, thanks!
Hi @Max - I too am experiencing this problem with my Hostinger Web Builder platform. Embedded the Captcha form widget code but getting the below error (see message just below the form)
Any updates on progress on this?
Many thanks
Hi there, @Ish_Bansal
The issue appears because the widget is installed in iframe. To fix it, please replace your current Installation code with the new one:
<script src="https://custom-scripts.elfsightcdn.com/public-scripts/hostinger-and-go-daddy/install-widget.js" data-banner></script>
<div class="elfsight-app-YOUR_WIDGET_ID"></div>
In the new code, please replace YOUR_WIDGET_ID with the ID of your widget.
Check it out and let me know if it worked
Hi @Max - thank you for looking into this. I can confirm that the new code you’ve provided has now worked
Can you please clarify that if I need to build further forms, will I have to follow the same process? i.e. use the script you’ve provided in this post and replace the WIDGET_ID? Or will the code generated from the Form Builder App automatically generate the relevant script without me having to replace the code? I hope this makes sense?
Since I was only using the free version to test the functionality, I will now go ahead and upgrade my subscription!
Thank you for your taking a look and helping on this matter
Great, you’re welcome
If you’re going to install your forms on Hostinger, you should use the script I’ve shared and replace the WIDGET_ID.
This code installs the widget outside the iframe, making reCAPTCHA work correctly. However, if your website isn’t built in iframes (like Hostinger), the code generated in your dashboard should work great