Integrations
Typo3

CaptchaFox Extension for Typo3 CMS

You can protect the forms of your Typo3 website using the CaptchaFox Extension (opens in a new tab).

Configuration

The extension can be configured through the Extension Manager. Important options defined in ext_conf_template.txt include your site key, secret key and language:

site_key = <YOUR_SITE_KEY>
secret_key = <YOUR_SECRET_KEY>
lang = en

Additional options like robotMode and enforceCaptcha control whether the CAPTCHA should be shown during automated testing or development environments.

Usage

After installation you can add the "CaptchaFox" element to a form using the form editor. Internally the partial Resources/Private/Partials/CaptchaFox.html renders the widget and inserts the required scripts:

<div class="captchafox"
     data-sitekey="{configuration.site_key}"
     data-mode="{element.renderingOptions.displayMode}"
     data-lang="{configuration.lang}"
     data-callback="cfVerifyAndSubmit"></div>

Validation is handled by the service in Classes/Services/CaptchaService.php, which sends the user response to the configured verification server.