All Collections
FAQ's and Troubleshooting
How to prevent receiving empty emails from the Contact Form module
How to prevent receiving empty emails from the Contact Form module

Use Google's reCaptcha to prevent spam bots from sending empty emails.

Eduard Ungureanu avatar
Written by Eduard Ungureanu
Updated over a week ago

If the Contact Form module lacks spam protection, spam bots can send empty emails by bypassing the required fields.

To prevent that occurrence, we can take the following measures:

  • Use the basic captcha system on the Contact Form module

  • Configure and use Google's reCaptcha system - recommended.

Configure and use Google's reCaptcha system

  1. Login to Google reCaptcha account (https://www.google.com/recaptcha/admin).

  2. Click on the + icon on the top right to register your website:

    Google reCaptcha account

  3. Set your label (it can be anything) and ensure that the Score Based (v3) option is selected.

    Register a new website

  4. Add your domain name. E.G: my-domain.com.

    Set up the domain name
  5. Click on the Submit Button.

Configure the Contact Form module to use the Google reCaptcha spam system

  1. Go back to your website and open the page where the Contact Form module is being used with Visual Builder.

  2. Open the Contact Form module setting, go to Content Tab โ†’ Spam Protection and enable the Use A Spam Protection Service option.

    Enable the Spam protection service

  3. Click on the Add button.

  4. Set the Account Name field to be whatever you want.

  5. Copy the Site Key and Secret Key from the Google reCaptcha account.

  6. Click on Submit.

    Add the Google reCaptcha account

  7. Ensure that the Service Provider is set to ReCaptcha, and under reCAPTCHA v3 Account select the account name that was just created.

    Select the Google reCaptcha account

    In this example, I have named my account reCaptcha

Use the basic captcha system on the Contact Form module

When the Contact Form module is added to a layout, the Basic Captcha system is enabled by default. If it is not enabled, follow these steps:

  1. Open the Contact Form module's settings.

  2. From the Content Tab, expand the Spam Protection option group.

  3. Enable the Use Basic Captcha option.

    Enable the basic captcha system
Did this answer your question?