Mandatory Field / Form Builder - Question | JoomShaper

Mandatory Field / Form Builder

T

Tobias

SP Page Builder 1 year ago

Hello, I have the following problem. If I fill out a form (by hand) everything is fine, but if I fill it out automatically with my saved data (chrome), the error message comes up every time. Not all mandatory fields have been filled out. Help!

0
6 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 year ago #173749

Hello Tobias,

Thank you for reaching out to us!

Could you please share your website URL or provide admin access in the hidden content section? This will help me investigate the issue more effectively. Before this, Please taking your sull site backup.

Best regards,

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 year ago #179544

Hello,

I haven’t heard back from you for a while. Could you please let me know if the issue has been resolved? We need to close this post soon.

Looking forward to your update.

Thanks,

0
DC
David Collado
Accepted Answer
1 month ago #226330

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.

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 month ago #226347

Hello,

Please, create a new post for this issues.

We will check this issues. Also, allow our country Bangladesh as a whitelist.

Thanks

0
DC
David Collado
Accepted Answer
1 month ago #226438
0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 month ago #226512

Please, follw up on that post.

Thanks

0