I have previews required for both node and comment submission. The problem is when submitting a node, the captcha image shows up on the first page - then you press preview. Then the preview loads up and there is NO captcha image or field anymore. Then you press submit - and an error gets thrown saying the validation was incorrect. After that you are right back at the first preview page and the captcha is back. There is no way to submit nodes or content with it enabled..

Surprised this hasn't be brought up yet...or I did i miss something?

Thanks

Comments

mstef’s picture

I haven't gotten time to look at the code, even though I know I couldn't do much help, but there has to be a way to test for this sort of situation and either prevent the image from showing is preview is the only option, or just simply making it show up for each page, whether its being previewed or submitted..

Does anyone have any ideas?

mstef’s picture

Perhaps you can make it so the captcha ONLY shows after you press submit, and not at all during the previewing (because it can be previewed as many times as they want). How about after you press submit, it goes to a temporary page with the captcha, and if you get it right, it submits, if you get it wrong, you can try again or cancel..

Now..does anyone have any idea how to do that?

soxofaan’s picture

Status: Active » Closed (fixed)

Closing this issue:

  • Maintenance and support for the CAPTCHA module for drupal 4.7 are already a long time inexistent. Considering that the Drupal 4.7 branch is now officially unmaintained due to the recent Drupal 6.0 release, it is very unlikely this will change.
  • The issue is not applicable to the now recommended 5.x-3.x and 6.x-1.x branches.