Mutiple questions

forngren - May 13, 2007 - 13:28
Project:Captcha Riddler
Version:5.x-3.1
Component:Code
Category:feature request
Priority:normal
Assigned:David Stosik
Status:reviewed & tested by the community
Description

I would be nice if I could define multiple questions and have a random one picked at each form display.

Nice module, btw :)

#1

tknospdr - May 14, 2007 - 16:36

I was going to post the exact same request, good thing I always search first.

Thanks,
David
http://www.FloridaPets.org

#2

imerlin - May 15, 2007 - 01:23
Assigned to:Anonymous» imerlin

Good suggestion. I'll look into it.

#3

mariuss - June 13, 2007 - 17:29

A suggestion regarding multiple questions. It could be an overkill, not sure, but worth mentioning I thing.

One way to implement multiple questions would be using a template question and an array of values and expected results. For example:
- question: "How many !limb does a !animal have?"
- array of values (column 1 and 2) and expected results (column 3):
legs chicken 2
legs dog 4
wings penguin 2
tails human 0

#4

imerlin - July 1, 2007 - 13:44

I'd like to get some input on how it would be best represented for the user.

So far I have:

  1. Single textarea with comma separated questions, answers
  2. Two textfields (question/answer) and on submit add the data to an array
  3. Some jquery magic to update the question list

So far I'm leaning towards 1. or 2. due to simplicity in the programming and the fact that I don't know jquery. Suggestions welcome.

#5

imerlin - March 28, 2008 - 11:55
Priority:normal» minor
Status:active» postponed

Postponed until further

#6

David Stosik - August 14, 2008 - 12:10
Version:5.x-1.x-dev» 5.x-3.1
Priority:minor» normal
Assigned to:imerlin» David Stosik
Status:postponed» needs review

Hello,
Here is a patch for Captcha riddler to accept multiple riddles, and throw a random riddle when a Captcha is needed.
It applies to 5.x-3.1 version, and was parsed by Coder to have Drupal compliant code.

Regards,
David

AttachmentSize
multiriddle.patch 8.5 KB

#7

imerlin - August 22, 2008 - 09:17
Status:needs review» reviewed & tested by the community

Looks very nice. Been wondering how it would be best to implement this but I'm liking this so far.

Testing for a few days on my website, then I'll submit to CVS. Thanks!

#8

cwgordon7 - April 13, 2009 - 20:25

Has there been any movement on this since August? This is quite an old issue... :)

#9

awolfey - June 26, 2009 - 16:05

I've just added a drupal 6 version of riddler that includes this patch. It also allows multiple possible answers.

 
 

Drupal is a registered trademark of Dries Buytaert.