Protect your Comfyform submissions from spam and automated abuse with reCAPTCHA. Comfyform currently supports reCAPTCHA v2, including both the visible “I am not a robot” checkbox and the invisible reCAPTCHA that works in the background. Plans for integrating reCAPTCHA v3 are also underway, which will provide a score-based verification system.Here’s a step-by-step guide to implementing reCAPTCHA v2 for your forms.
Before you can implement reCAPTCHA security in Comfyform, you must register your site with the reCAPTCHA service. If you’ve already registered your website, you can skip to the second step.
Sign in with your Google account if you’re not already logged in.
Provide the label for your reCAPTCHA (e.g. My Super Website).
Select “Challenge (v2)” and the type you wish to use:
“I am not a robot” Checkbox
Invisible reCAPTCHA badge
Enter your domain(s) under the Domains section (e.g. mysuperwebsite.com).
Click the “Submit” button to finish the registration.
Once registered, you’ll receive two crucial pieces of information:
Site Key: Public key implemented on your site’s frontend.
Secret Key: Private key used for communication between the backend and the reCAPTCHA service for validating requests from your site. Do not publicly disclose this key.
To activate reCAPTCHA on your site, you’ll need to include the reCAPTCHA script and render it where your form is displayed or implement it using JavaScript. Google’s reCAPTCHA documentation provides detailed instructions for this process.
After configuring reCAPTCHA in both Google’s service and your Comfyform dashboard, as well as implementing it on your site, it’s essential to run tests. Submit forms from your site to verify that the reCAPTCHA is appearing and functioning correctly, and check that submissions from actual users pass through while automated submissions are blocked.
For assistance or if you encounter any issues with setting up reCAPTCHA for your forms, our support team is here to help. Contact us at support@comfyform.com or join our Comfyform Discord server and we will guide you through the process for a secure, spam-free form experience.