Integrate matt-west/craft-recaptcha with craftcms/guest-entries
This plugin requires Craft CMS 3.0.0-RC1 or later.
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require billythekid/recaptchaguest
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for recaptchaguest.
Note: Click install for recaptcha and guest entries if they're not installed yet. This plugin will make them available if they don't exist already however it won't install them into your Craft project for you.
This plugin hooks together matt-west/craft-recaptcha with craftcms/guest-entries to allow you to use the recaptcha validation in your guestentry submissions.
There are no configuration options for this plugin however you will need to set up guest entries and recaptcha.
Follow the instructions to set up the Recaptcha plugin.
See the Guest Entries notes on settings and how to set up a guest entries form.
Output the recaptcha on your form.
If you enable the ‘Validate contact forms’ setting and this plugin is installed any guestentry form submissions will be validated against the recaptcha field. (And will fail validation if the recaptcha code is not correct / is not supplied)