Project:reCAPTCHA
Component:User interface
Category:feature request
Priority:normal
Assigned:Rob Loach
Status:closed (fixed)

Issue Summary

Great module! Some small tweaks that I'd suggest:

* Change the weight of the recaptcha form item to '1' from '-1': having the test right at the top puts it before the explanatory text for the registration form, and breaks up the flow of the form. It seems more logical to have it just before the "submit" button.

* Make the error message more user-friendly: currently "The reCAPTCHA code you entered was incorrect." but most users won't know what a recaptcha is (despite the text on the box). Why not something like "The words you entered did not match the image. Try the image or audio test again."

Just my two pence! Thanks, David.

Comments

#1

Thanks for the suggestions!

For the weight of the form, I'm not sure how it's managed in the 4.7 branch, but in 5.x, the Captcha module puts the form right above the submit button. So, if you make an issue about the 4.7 branch of Captcha, the issue should be addressed.

As for the error message, what if it was customizable? What if in the recaptcha settings, you could set what message would display when they enter the wrong code? Would that solve the problem?

#2

Thanks, Rob.

1.) In 4.7, it ends up right at the top: very easy to change, but I'll submit a separate issue.

2.) Yes, that would be way better than hard-coding the message! Good idea.

Cheers, David

#3

Status:active» needs review

Here's my proposal: the weight of the recaptcha image is now selectable from the admin page. That way, if you can put it where you want. It might be even better to make the weight independently selectable for each form that is altered, but I don't have the time to create that.

I also have a patch for 5.x, which I'll post shortly.

Comments?

AttachmentSize
recaptcha-custom-weight-4.7.patch 1.5 KB

#4

Status:needs review» fixed

I've now implemented the custom error message as well, and committed patches for both issues to 4.7.x-1.x-dev. I've also filed patches against 5.x as separate issues.

#5

Version:4.7.x-1.x-dev» 5.x-1.x-dev
Assigned to:Anonymous» Rob Loach
Status:fixed» patch (to be ported)

I'd like to bring the custom error message stuff into the 5.x branch....

#6

Status:patch (to be ported)» fixed

Thanks a lot!

#7

Version:5.x-1.x-dev»

What a fantastic response! That works well - thanks, guys.

#8

Status:fixed» closed (fixed)

#9

Same issue here. My reCAPTCHA for Drupal 6.x is displaying in the middle of my CCK page. But I would like it at the bottom.

Here is a easy fix http://drupal.org/node/285930#comment-1963996