Hi,
I'm running into a persistent "Invalid Recaptcha" error on a Form Builder form and have done extensive diagnostics to rule out the usual causes. Sharing everything I've confirmed so far since I noticed other forum threads with this same error that weren't fully resolved, and I think this may be a bug in the addon itself.
Site: https://danadistributors.com/alcoholic-beverage-application
SP Page Builder version: 6.6.2
Joomla version: 6.1.1
What I've already ruled out:
- Site key and secret key match exactly across the Joomla plugin settings, the database (extensions table params), and the Google reCAPTCHA console (both classic and Cloud Console views point to the same key).
- Both danadistributors.com and www.danadistributors.com are registered as allowed domains on the reCAPTCHA key.
- The server can reach Google's siteverify endpoint without any network/firewall issue (confirmed with a direct curl test from the server, which got a normal structured JSON response back).
- No PHP errors appear in the site's error log when submitting the form.
- Disabled my browser's ad blocker (it was silently blocking the reCAPTCHA widget's initial anchor request, but only that request, not the issue itself).
- Adjusted the Form Builder rate-limit settings (Max Requests / Time Window) to reasonable values, no change.
- Tested filling the form by hand vs. via Chrome autofill - both fail identically with "Invalid Recaptcha" (this rules out the separate, also-reported autofill/validation-event issue).
What I found digging into the addon code:
- In components/com_sppagebuilder/addons/form_builder/site.php, I added a temporary debug error_log() call immediately after the
Factory::getApplication()->triggerEvent('onCheckAnswer', [$gcaptcha]) line (around where if (empty($res[0])) triggers the invalid-captcha message).
- That debug log never fired on submission, meaning execution exits before reaching that point in the captcha-check logic. So the failure isn't happening inside the captcha verification call itself, it's happening earlier in the request handling, with "Invalid Recaptcha" being the message ultimately shown.
Given this, could someone take a look at the request flow earlier in site.php (or wherever the AJAX submission entry point is) to see what would cause an early exit/return that surfaces as the invalid-captcha message rather than a more specific error? Happy to share more code snippets, a screen recording, or further debug output if helpful.
Thanks for looking into this.