Provides two elements (V2 + V3) for the Fusion Forms package to use Google's ReCaptcha service.
composer require 7sg/fusion-form-recaptcha
Add the following to your Settings.yaml
:
Seven:
Fusion:
Form:
ReCaptcha:
siteKey: 'SOME_SITE_KEY'
secretKey: 'SOME_SECRET_KEY'
Please notice: Its currently only possible to use one ReCaptcha element per page.
<Seven.Fusion.Form.ReCaptcha:ReCaptchaV2/>
This version requires an action name to be passed to the element.
<Seven.Fusion.Form.ReCaptcha:ReCaptchaV3 action="Your action name"/>
Licensed under MIT