hubertusanton / silverstripe-simplequestioncaptchafield
SilverStripe Simple question captcha field
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Type:silverstripe-module
Requires
- silverstripe/framework: 3.1.*
This package is auto-updated.
Last update: 2024-12-05 20:23:11 UTC
README
Maintainer Contacts
- Bart van Irsel (bart@30.nl)
Requirements
- SilverStripe 3+
Documentation
Installation Instructions
- Place this directory in the root of your SilverStripe installation.
- Rename directory to simplequestioncaptchafield
- Visit yoursite.com/dev/build?flush=1
Usage
This is a simple user friendly captcha field with random questions a human should know the answer to to prevent spamming of forms in silverstripe.
Documentation
examples of usage:
$obvious_questions = array( 'what is the answer of 1 + 1?' => '2', 'What is the first letter of the alphabet?' => 'a', 'What is the color of the sky?' => 'blue');
SimpleQuestionCaptchaField::create('SimpleCaptcha', null, '', $obvious_questions);
or
SimpleQuestionCaptchaField::create('SimpleCaptcha', null, '');
or a simple one which i like
SimpleQuestionCaptchaField::create('SimpleCaptcha', null, '', array( 'Type the number <strong>TWO</strong> in numbers.' => '2', 'Type the number <strong>THREE</strong> in numbers.' => '3', ) )
Help
I could use some help in making up the default obvious questions and maybe making these also suporting multiple languages.