dev-master
9999999-dev http://github.com/hubertusanton/silverstripe-simplequestioncaptchafieldSilverStripe Simple question captcha field
BSD-3-Clause
The Requires
by Bart van Irsel
captcha silverstripe
Wallogit.com
2017 © Pedro Peláez
SilverStripe Simple question captcha field
GitHub Wiki, (*1)
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., (*2)
examples of usage:, (*3)
$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, (*4)
SimpleQuestionCaptchaField::create('SimpleCaptcha', null, '');
or a simple one which i like, (*5)
SimpleQuestionCaptchaField::create('SimpleCaptcha', null, '', array(
'Type the number <strong>TWO</strong> in numbers.' => '2',
'Type the number <strong>THREE</strong> in numbers.' => '3',
)
)
I could use some help in making up the default obvious questions and maybe making these also suporting multiple languages., (*6)
SilverStripe Simple question captcha field
BSD-3-Clause
captcha silverstripe