Hi,

Latest version of captcha module provides support for refreshing image captcha. Can we've same for captcha in webform module as well.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yogeshchaugule8 created an issue. See original summary.

jrockowitz’s picture

Can you please attach a screenshot of the new feature?

jrockowitz’s picture

Status: Active » Needs review
FileSize
75.34 KB
2.43 KB

Since the Webform module is implementing CAPTCHA via a webform element, the image refresh link needs to be added via a little custom.

Please review the attached patch.

yogeshchaugule8’s picture

Thanks jrockowitz for quick response & solution.

I've verified the captcha with refresh link on webform and it is working properly.

yogeshchaugule8’s picture

Hi jrockowitz,

When configuring captcha in Webform, if captcha element is configured to render default captcha (default to image in captcha config), the refresh button doesn't work. It must be set to "image_captcha/Image" in webform captcha element for this to render. Where as this is not the case with captcha module.

I've updated a patch, which works for default configuration as well.

jrockowitz’s picture

I verified that the image refresh link is not a new feature and there is minimal risk.
@see #2608540: Add Image CAPTCHA Refresh to the module patch

I committed the patch. Please download the latest dev release to review.

jrockowitz’s picture

Status: Needs review » Fixed

  • yogeshchaugule8 authored 24eaf31 on 8.x-5.x
    Issue #3094910 by jrockowitz, yogeshchaugule8: Refresh feature for image...

  • 18c679a committed on 8.x-5.x
    Issue #3094910 by jrockowitz, yogeshchaugule8: Refresh feature for image...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.