NO BUG: Error Report and Solution: Conflicts When Disabling reCAPTCHA in Forms with HoneyPot

Browser: Mozilla Firefox Developer Edition
OS: Windows
Bricks Builder: 1.12.2
WordPress: 6.7.2

Issue Identified:
When a form is configured with Google reCAPTCHA and has a HoneyPot field enabled, an error occurs when submitting the form if the reCAPTCHA API keys are removed before disabling reCAPTCHA in the form settings .

Cause:
The error arises because the system continues attempting to validate reCAPTCHA even after the API keys are deleted, as the reCAPTCHA activation option in the form was not properly disabled.

Step-by-Step Solution:

If the error has already occurred:    
  •  Step 1:  Re-enter the Google reCAPTCHA API keys  in the settings.  
    
  •  Step 2:  Go to the form with HoneyPot enabled and disable the reCAPTCHA option .  
    
  •  Step 3:  Save changes, then remove the reCAPTCHA API keys .  
    
  •  Result:  The form will work without errors, even with HoneyPot active.      
    

    To prevent the error in the future:

  • Step 1: Disable reCAPTCHA in the form settings first.

  •     Step 2:  Only remove the reCAPTCHA API keys  after confirming reCAPTCHA is fully deactivated.
    

Recommendation for Developers:
Ideally, future updates should include an automatic check to verify if API keys are configured before attempting reCAPTCHA validation, avoiding this conflict.

This error is critical for users combining HoneyPot and reCAPTCHA, as it blocks form submissions if the deactivation order is not followed. We hope a permanent fix will be implemented!

Note: Always back up your site before making changes to critical configurations like API keys.

Hello,

I believe this is the same report as this one:

So, I’ll mark this one as NO BUG, because if you have reCAPTCHA toggle on, it will expect reCAPTCHA API key.

Best regards,
Matej

No, it’s not the same error. It’s something different. Well, I’m also explaining the solution to this problem, just in case any other user has the same problem as me.

Best Regards