Issue With "Contact Form" Addon – CAPTCHA Fails For Guest Users - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Issue With "Contact Form" Addon – CAPTCHA Fails For Guest Users

DH

David Martin Heras

SP Page Builder 2 months ago

Hello I’m currently using SP Page Builder on Joomla 5 and I’ve encountered an issue with the Contact Form addon.

The form is publicly visible and works correctly when a user is logged in, but when a guest (non-logged-in) user tries to submit the form, it fails due to CAPTCHA validation.

✔️ The CAPTCHA (both Google reCAPTCHA Invisible and Cloudflare Turnstile) is displayed properly for all users

❌ However, only logged-in users can successfully submit the form

❌ Guest users always get an error like: Invalid CAPTCHA or Missing token

✅ What I have checked: CAPTCHA plugins are active and configured correctly in Joomla

The CAPTCHA is set as the default in Joomla Global Configuration

The form is visible to everyone (menu item and page access set to "Public")

The site key and secret key are correct

The problem happens with both Google and Cloudflare CAPTCHA options

🔎 Diagnosis: It seems the Contact Form addon doesn’t correctly send or validate the CAPTCHA token when the user is not logged in. This results in submission failure for guests.

The issue can be tested here: 🔗 https://ponmeunsello.com/index.php/contact-us

Please let me know if there is a fix, patch, or recommended workaround to make the form functional for guest users with CAPTCHA protection.

Thank you very much for your help.

Best regards, David

0
10 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 2 months ago #199631

Hi there!

Thank you for bringing this to our attention, and I sincerely apologize for the inconvenience caused.

To assist you more effectively, may I kindly request temporary administrative access to your site? This will allow me to thoroughly investigate and resolve the issue for you.

Before sharing the credentials, I strongly recommend taking a complete backup of your site to ensure all data remains secure.

Looking forward to your response.

Best regards

0
DH
David Martin Heras
Accepted Answer
2 months ago #199643

Hi Atick,

Thank you for your quick response.

I’ve created a temporary Super User account for you as requested I’ve also made a full backup of the site before sharing access.

Please feel free to check the contact form issue for non-logged-in users here: https://ponmeunsello.com/index.php/contact-us

Let me know once the issue is resolved so I can safely remove the temporary account.

Thanks again for your help.

Best regards, David

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 2 months ago #199655

Hello David Martin Heras,

Sorry for the inconvenience you're experiencing with the CAPTCHA.

To help me investigate, would it be possible for me to download a full site backup to check the issue on my local machine? Looking forward to your response.

Best regards

0
DH
David Martin Heras
Accepted Answer
2 months ago #199908

Hello,

Thank you for your response.

Yes, you can download the full site backup, including the database, from the following link to investigate the issue on your local environment:

🔗

Please let me know if you need anything else.

Best regards, David Martín Heras

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 2 months ago #199930

Hello David Martin,

Sorry for the inconvenience you're experiencing. In addition to the database, could you please also share the associated files?

Looking forward to your response.

Best regards

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 2 months ago #199931

Hello David,

Sorry for the inconvenience this CAPTCHA issue is causing. Could you please check if the problem is resolved now and let me know how it goes?

Best regards

0
DH
David Martin Heras
Accepted Answer
2 months ago #199974

Hello Atick,

Thank you very much.

I’ve tested the CAPTCHA and it seems to be working fine now — both when logged in and when not logged in. It also works correctly with both Google and Cloudflare.

Could you please let me know what the issue was, so I can understand what went wrong and prevent it in the future?

Best regards, David Martin

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 2 months ago #199981

Hello David,

Sorry for the inconvenience you're experiencing. The CAPTCHA issue appears to have been caused by a setting within the JCH Optimize plugin. I've temporarily disabled the problematic setting, as shown here: prnt.sc/5Lvt2481ll0w to resolve the problem.

Best regards

0
DH
David Martin Heras
Accepted Answer
2 months ago #199988

Hello Atick,

Thank you very much for your help and for identifying the issue.

I appreciate you disabling the problematic setting in JCH Optimize. I’ll definitely keep this plugin in mind as a possible cause if similar issues arise in the future.

Best regards, David Martin

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 2 months ago #199990

Hello David,

You're most welcome — I'm glad I could assist.

It's great to hear that the issue has been resolved. Yes, JCH Optimize can be quite helpful, but certain settings may occasionally conflict with dynamic components, so it's always a good idea to keep an eye on it during troubleshooting.

If you need any further assistance, feel free to reach out.

Please marked the issue as solved

0