Spam Protection

    Basic Spam Filter

    It’s an automatic spam filtering option that uses FormBold’s server-side mechanism to defend spam submissions. You can use it for basic spam filtering.

    To turn it on follow these steps:

    1. Go to the Form Setting:
    Spam Protection

    2. After that scroll down to Spam Protection and turn on the Basic Spam Filter.

    Spam Protection

    That’s it, this is how you can turn on the Basic Spam Filter.

    Automatic reCAPTCHA

    It’s an automatic reCAPTCHA. It’ll automatically add one more step for verification.

    But when it’s enabled AJAX requests won’t work.

    Follow these steps to enable Automatic reCAPTCHA:

    1. Go to the Form Setting.

    Spam Protection

    2. After that scroll down to Spam Protection.

    Spam Protection

    3. Now click on the toggle button to turn on Automatic reCAPTCHA

    Spam Protection

    Custom reCAPTCHA

    You can add Custom reCAPTCHA to your FormBold form. Unlike the Automatic reCAPTCHA, the Custom reCAPTCHA works with both AJAX and HTTP requests.

    You can use your own reCAPTCHA keys and you don’t need to do any more additional verifications.

    Follow these steps to add Custom reCAPTCHA to your Form:

    1. Go to the Form Setting.

    Spam Protection

    2. After that scroll down to Custom reCAPTCHA, and click on the toggle button to turn it on.

    Spam Protection

    After you turn it on you’ll have to provide your custom site key and private key.

    Let’s go ahead and generate the keys.

    3. To get the keys go to Google reCAPTCHA. After that go to v3 Admin Console

    Spam Protection

    When you go to the console you’ll see something like this. Go ahead and fill in the form and submit

    Spam Protection

    Make sure to choose reCAPTCHA v2 otherwise, reCAPTCHA won’t work.

    Spam Protection

    4. After you’ve provided all the information you’ll get the Site key and the Secret key.

    Spam Protection

    5. Go ahead and copy the keys, add them to the Custom reCAPTCHA setting, and click on the update button to update.

    Spam Protection

    6. Now you’ll have to add the reCAPTCHA div. You’ll have to add it before the submit button and load the recaptcha API file to make it work properly.

    Like this:

    <script src="https://www.google.com/recaptcha/api.js" async defer></script>
    
    <form
      action="https://formbold.com/s/Form_ID"
      method="POST"
    >
      <label>
        Your email:
        <input type="email" name="email">
      </label>
      <label>
        Your message:
        <textarea name="message"></textarea>
      </label>
    
      <div class="g-recaptcha" data-sitekey="your recaptcha site key"></div>
    
      <button type="submit">Send</button>
    </form>