Skip to main content
All CollectionsTroubleshooting and FAQsFrequently Asked QuestionsContact Form Module
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 or the built-in default simple Captcha to prevent spam bots from sending empty or spam submissions

Updated over 4 months ago

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

To prevent this, you can take the following measures:

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

  • Use the basic captcha system on the Contact Form module

Configure and use Google's reCaptcha system

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

    Google reCaptcha account

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

    Register a new website

  3. Add your domain name. e.g: my-domain.com.

    Set up the domain name

  4. 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 newly created account name.

    Select the Google reCaptcha account

    In this example, I have named my account reCaptcha

Use the Basic Captcha system on the Contact Form module

The Basic Captcha system is enabled by default when the Contact Form module is added to a layout. 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?