FormsLite.io Docs
  • Introduction
  • Getting Started
    • Setup
    • Settings
      • Custom Subject
      • Success Page
      • Custom Redirect
      • Captcha and Spam Protection
        • Honeypot
        • hCaptcha
        • Report Spam
      • Custom Reply-to Email
      • Custom From Name
    • Plus Features
      • Add CC Emails
      • Autoresponder
      • Notion Database Integration
      • Webhooks
      • Domain Whitelisting
    • Examples
  • Guides
    • HTML Only
    • HTML + JavaScript
    • Alpine.js
    • Svelte
    • Vue.js
    • React
Powered by GitBook
On this page
  1. Getting Started
  2. Settings
  3. Captcha and Spam Protection

hCaptcha

Overview

FormsLite.io allows free users to enhance their form security by integrating hCaptcha. This feature helps to protect your forms from spam and abuse by requiring users to complete a CAPTCHA challenge.

Enabling hCaptcha

To enable hCaptcha on your form, follow these steps:

  1. Add hCaptcha Script

    • Include the following script tag after the closing tag of your form:

      <script src="https://hcaptcha.com/1/api.js" async defer></script>
  2. Add hCaptcha Widget

    • Insert the following hCaptcha widget code inside your form body:

      <div class="h-captcha" data-sitekey="8eb0ceaa-e688-4f94-90dc-f052d0a27eb6"></div>

Example Form with hCaptcha

<form action="https://api.formslite.io/submission" method="POST">
    <input type="hidden" name="access_key" value="ACCESS_KEY">
    <input type="text" name="name" required />
    <input type="email" name="email" required />
    <textarea name="message" required></textarea>
    <div class="h-captcha" data-sitekey="8eb0ceaa-e688-4f94-90dc-f052d0a27eb6"></div>
    <button type="submit">Submit Form</button>
</form>
<script src="https://hcaptcha.com/1/api.js" async defer></script>

Upcoming Features

  • Custom hCaptcha Keys: Soon, you will be able to use your own hCaptcha site key.

  • hCaptcha Configuration Options: Additional options for configuring hCaptcha settings will be available.

Summary

Integrating hCaptcha with FormsLite.io is an easy way to add an extra layer of security to your forms. By following the steps above, you can quickly enable hCaptcha and protect your forms from spam and abuse. Stay tuned for upcoming features that will allow further customization and configuration.

PreviousHoneypotNextReport Spam

Last updated 11 months ago