All documentation

Stacklar Documentation

Spam Protection with reCAPTCHA and Stacklar Settings

Protect Stacklar submissions with reCAPTCHA, honeypot, rate limits, and submit protection settings.

Open: Stacklar -> Settings -> Integrations -> reCAPTCHA and Submit block -> Form Protection

Enable the protection methods required for the public form.

Configure the Rules: Spam Protection

  1. Open Stacklar -> Settings -> Integrations -> reCAPTCHA, enter the Site key and Secret key for the current domain, then select Save Changes.
  2. Open the form, select the Submit block, and expand Form Protection.
  3. Enable Honeypot trap, Minimum submit time, Rate limit submissions, or Google reCAPTCHA v3 as needed. Set the timing, limit, window, or Score threshold shown by each enabled control.
  4. Edit the Blocked message, Rate limit message, and reCAPTCHA message when the defaults are not suitable.
  5. Submit the form from a private browser window and confirm that valid visitors can still submit.

Rule Settings

  • Site key and Secret key: Store the Google reCAPTCHA v3 credentials for the current site.
  • Honeypot trap and Minimum submit time: Reject simple bots and submissions sent unrealistically fast.
  • Rate limit submissions: Sets the maximum submissions allowed per IP address within the configured window.
  • Google reCAPTCHA v3 and Score threshold: Enable score-based verification and set the minimum accepted score.
  • Blocked, Rate limit, and reCAPTCHA messages: Set the visitor-facing message for each rejected submission.

Test Every Path

  • Valid submissions still work.
  • Missing or invalid protection tokens are rejected.
  • Secret keys are not printed in public HTML.

Frequently Asked Questions

Where do I open these settings?

Open Stacklar -> Settings -> Integrations -> reCAPTCHA and Submit block -> Form Protection.

What should I verify after making changes?

Valid submissions still work.

Official reference: Google reCAPTCHA documentation.