Hi everyone,
tl;dr: new recaptcha input type introduced in v2.0
Thwarting malicious form submissions by spammers, whether they be automated bots or humans (with too much time on their hands), can be a challenging task. This very matter has been discussed comprehensively in previous threads such as viewtopic.php?p=9255#p9255 where numerous solutions have been proposed. Some of these (e.g. consulting spam databases, utilizing honeypot fields) operate behind-the-scenes. Others however present an active obstacle for the user to overcome (e.g. challenge question) which inevitably harms user experience for the average person. The existing captcha field falls into the latter category and additionally, has become largely ineffective over time.
Accordingly, a new addon has been added to v2.0 that enables support for Google's reCAPTCHA service in the hopes of providing a more effective and user-friendly captcha option to fight spam and abuse. The difficulty of solving this captcha scales as various risk factors are analyzed (see Google's blog post for a proper explanation).
Thanks!
Documentation
Usage
Parameters
Notes
You may wish to buffer the output of the reCAPTCHA field, so that it may be hidden upon successful form submission.
tl;dr: new recaptcha input type introduced in v2.0
Thwarting malicious form submissions by spammers, whether they be automated bots or humans (with too much time on their hands), can be a challenging task. This very matter has been discussed comprehensively in previous threads such as viewtopic.php?p=9255#p9255 where numerous solutions have been proposed. Some of these (e.g. consulting spam databases, utilizing honeypot fields) operate behind-the-scenes. Others however present an active obstacle for the user to overcome (e.g. challenge question) which inevitably harms user experience for the average person. The existing captcha field falls into the latter category and additionally, has become largely ineffective over time.
Accordingly, a new addon has been added to v2.0 that enables support for Google's reCAPTCHA service in the hopes of providing a more effective and user-friendly captcha option to fight spam and abuse. The difficulty of solving this captcha scales as various risk factors are analyzed (see Google's blog post for a proper explanation).
Thanks!
Documentation
Usage
- Code: Select all
<cms:input name='recaptcha_test' type='recaptcha'/>
Parameters
- theme
- light (default)
- dark
- size
- normal (default)
- compact
Notes
You may wish to buffer the output of the reCAPTCHA field, so that it may be hidden upon successful form submission.
- Code: Select all
<cms:capture 'recaptcha_buffer'> <cms:input name='recaptcha_test' type='recaptcha' theme='dark' size='compact'/> </cms:capture> <cms:if "<cms:not k_success/>"> <cms:show recaptcha_buffer/> </cms:if>
- Code: Select all
grecaptcha.reset(n);