View Categories

Spam Prevention on Forms: Set Up reCAPTCHA v3 or hCaptcha

Overview #

Form spam is a common issue on websites that allow users to submit contact, booking, or lead capture forms. Bots often flood forms with fake submissions, wasting time and server resources. To reduce or eliminate this, it’s important to implement a spam prevention tool like reCAPTCHA v3 or hCaptcha.

This guide explains how to set up these tools on your forms to protect your website from spam without negatively impacting user experience.


Step 1: Choose a Spam Prevention Tool #

✅  #

Google reCAPTCHA v3 #

  • Invisible to users
  • Assigns a score to each submission to detect bots
  • Seamless user experience
  • Requires a Google account

✅  #

hCaptcha #

  • Similar to reCAPTCHA
  • More privacy-focused (no tracking by Google)
  • Also supports invisible and challenge-based modes
  • Free with optional enterprise features

Step 2: Register Your Site with reCAPTCHA or hCaptcha #

🔹  #

Register for reCAPTCHA v3: #

  1. Visit https://www.google.com/recaptcha/admin
  2. Log in with your Google account
  3. Register a new site and select reCAPTCHA v3
  4. Add your domain (e.g., yourwebsite.com)
  5. Accept the terms and click Submit
  6. Copy your Site Key and Secret Key

🔹  #

Register for hCaptcha: #

  1. Visit https://www.hcaptcha.com
  2. Create an account and log in
  3. Add a new site and enter your domain
  4. Choose your CAPTCHA style (invisible or challenge-based)
  5. Copy your Site Key and Secret Key

Step 3: Enable reCAPTCHA or hCaptcha in Your Form Plugin #

Most popular WordPress form builders support both reCAPTCHA and hCaptcha. Below is how to enable spam protection in Gravity Forms, Elementor Forms, and WPForms.

🛠  #

Gravity Forms (reCAPTCHA v3 or hCaptcha) #

  1. Go to Forms → Settings → reCAPTCHA
  2. Select v3 and paste in your site/secret keys
  3. Save settings
  4. For hCaptcha, install the Gravity Forms hCaptcha Add-On
  5. Enter your hCaptcha keys and enable it for your forms

🛠  #

Elementor Forms #

  1. Go to Elementor → Settings → Integrations
  2. Scroll to reCAPTCHA or hCaptcha
  3. Paste in your keys
  4. Save changes
  5. Open your form in the Elementor editor and enable reCAPTCHA/hCaptcha in the form widget settings

🛠  #

WPForms #

  1. Go to WPForms → Settings → CAPTCHA
  2. Choose between reCAPTCHA v3 or hCaptcha
  3. Enter the Site and Secret Keys
  4. Save settings
  5. Edit each form and ensure CAPTCHA is enabled under Settings → Spam Protection

Step 4: Test Your Form #

✅ Submit a test entry and confirm:

  • The form submits successfully without errors
  • No CAPTCHA challenge is shown (for invisible modes)
  • You still receive form notifications
  • The form entry is recorded in your plugin’s entries area (if applicable)

Step 5: Monitor and Adjust #

  • Check your form entries over time to confirm spam has decreased
  • If you’re still getting spam, consider:
    • Adding a honeypot field (many form builders include this option)
    • Using a challenge-based CAPTCHA instead of invisible
    • Enabling blocklists or anti-spam plugins like Akismet or CleanTalk for additional protection

Conclusion #

Implementing reCAPTCHA v3 or hCaptcha on your forms is a simple but powerful step to reduce spam and ensure your form submissions are legitimate. It improves the security and professionalism of your website while maintaining a seamless experience for real users. Make sure this is part of your website setup or launch checklist.

For Vacation Rental Businesses Looking To Get More Direct Bookings:

Book A Call With Us