Extension

Archived
Forum
(read-only)

Accessible Captcha

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Greg Salt

     

Add in multiple answers? 

Support Request

Amity Web
Amity Web

Hi

Would it be possible you could extend this to accept multiple answers? We may give it a go, but we dont like modifying core code in case of upgrades.

The reason for multiple answers is we usually ask maths questions, like What is 2 + seven? There are three possible answers which is 9, Nine, and nine.

So having a separator in the answer like pipe | and then just checking the answer against each of these should be straight forward. We may do it, but then be good to have it as part of the original.

Thanks

Greg Salt
# 1
Developer
Greg Salt

Hi,

I won’t be adding new features to AC I’m afraid. In this case the hints option (showing the number of required characters) should be sufficient to indicate what the correct answer should be. Alternatively, the question itself could also be explicit about the form of the required answer.

Cheers

Greg

Amity Web
# 2
Amity Web

Ok shame because this seems to be the most effective captcha I’ve used so far! But if no updates are coming then suppose no harm if we modify the code ourselves if what we want is possible. I didn’t want to use hints or put it in the question because we like to use as little as text possible in line with other fields (Name, Email, Phone etc.). The captcha questions are always tricky enough as it is to fit in forms!

Thanks

Greg Salt
# 3
Developer
Greg Salt

Hi,

Okay. You can fork the repo if you want https://github.com/dry/accessible-captcha.ee2_addon. If you make your changes public please let me know and I’ll update the entry to let people know about your version.

Cheers

Greg