inoovum/formcaptcha

Last activity on 6 June 2021
  • 1
  • 64
composer require inoovum/formcaptcha

Captcha form field to protect recipients from spam.

1.0.0

Captcha form field to protect recipients from spam.

Version
1.0.0
Type
neos-package
Release Date
08.06.2021 14:29:36
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
815bff4d1cf6dcb0d796bb8535234dcaa18a9562

Form captcha

Captcha form field to protect recipients from spam.

Installation

The Inoovum.FormCaptcha package is listed on packagist (https://packagist.org/packages/inoovum/formcaptcha) - therefore you don't have to include the package in your "repositories" entry any more.

Just run:

composer require inoovum/formcaptcha

Usage

Use the form element "Captcha" and the validator "Captcha validator". Please note that you have to exclude the form element Captcha in the template of the email finisher.

Override email template

prototype(Neos.Form.Builder:EmailFinisher.Definition) {
    options {
        templatePathAndFilename = 'resource://Inoovum.FormCaptcha/Private/Templates/Form/Email.html'
    }
}

Usage in your own email template

<f:if condition="{0: formValue.element.type} == {0: 'Inoovum.FormCaptcha:Captcha'}">
    <f:else>
        <th style="text-align:left;">{f:if(condition: formValue.element.label, then: formValue.element.label, else: formValue.element.identifier)}</th>
        <td>{formValue.value}</td>
    </f:else>
</f:if>

Author

The content of the readme is provided by Github
The same vendor provides 3 package(s).