Coder Social home page Coder Social logo

helpfulrobot / hubertusanton-silverstripe-simplequestioncaptchafield Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hubertusanton/silverstripe-simplequestioncaptchafield

0.0 2.0 0.0 7 KB

Silverstripe simple question captchafield

PHP 100.00%

hubertusanton-silverstripe-simplequestioncaptchafield's Introduction

SilverStripe Simple question captcha field

Maintainer Contacts

Requirements

  • SilverStripe 3+

Documentation

GitHub Wiki

Installation Instructions

  1. Place this directory in the root of your SilverStripe installation.
  2. Rename directory to simplequestioncaptchafield
  3. 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.

hubertusanton-silverstripe-simplequestioncaptchafield's People

Contributors

hubertusanton avatar

Watchers

James Cloos avatar helpfulrobot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.