GitHub Repositiory: https://github.com/Jako/StupidQuestion-revo
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
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/
- First seen
- Supported databases
- Minimum MODX Requirement
|MODX.com||0.7.2-pl||2013-03-12 (8 years ago)|