StupidQuestion
stupidquestion
About
StupidQuestion is a simple but effective and userfriendly captcha solution for FormIt. A stupid question (i.e. 'What is the given name of Albert Einstein?') is inserted in the form template. The form field is filled and hidden by a javascript that is packed by a javascript packer. The packer scrambles the code and because of the input name contains different counts of hyphens the right answer is not placed at the same position in the javascript. The filling bots have to execute javascript - a lot don't do that.
GitHub Repositiory: https://github.com/Jako/StupidQuestion-revo
Installation & usage
The snippet has to be used as FormIt preHook and hook.
[[!FormIt? &preHooks=`StupidQuestion,...` &hooks=`StupidQuestion,...` ...
with the following properties
- stupidQuestionAnswers - Answers for the stupid question (JSON encoded array of 'forename name' combinations)
- stupidQuestionLanguage - Language of the stupid question
- stupidQuestionFormcode - Template chunk for the stupid question html form field
- stupidQuestionScriptcode - Template chunk for the filling javascript
- stupidQuestionRegister - Move the filling javascript to the end of the html body
- stupidQuestionNoScript - Remove the filling javascript
If you want to change the answers look at the english lexicon setting as example:
["Charlie Chaplin", "Albert Einstein", "Mary Smith", "Whoopi Goldberg"]
All language specific strings could be changed by editing the lexicon entries in the stupidquestion namespace. Use the existing placeholders in these entries.
Don't forget to place the [[!+formit.stupidquestion_html]] placeholder in the form code.
Bases on a captcha idea of Peter Kröner: http://www.peterkroener.de/dumme-frage-captchas-automatisch-ausfuellen/
At a glance
Not MODX 3 compatible as far as we know.
- Developer jako
- Latest release March 12, 2013 (13 years ago)
- First seen in SiteDash March 12, 2013 (13 years ago)
- License GPLv2
- MODX support 2.2+
- Databases MySQL
| Changelog | |||
|---|---|---|---|
| MODX.com |
0.7.2-pl |
March 12, 2013
13 years ago |
|
|
<ul><li>Added: stupidQuestionScriptcode parameter</li><li>Added: stupidQuestionNoScript parameter</li><li>Documentation: StupidQuestion has to be used as preHook **and** as hook</li></ul>
|
|||
|
No matching releases. |
|||
We've also seen 1 unverified version of StupidQuestion in use, but don't list those as we've been unable of confirming they are official releases from an official source.