hi,
I had installed webfoms first and then captcha - both latest releases
webform-6.x-2.0-beta6
captcha-6.x-1.0-rc2

I have read through and tried most things suggested in forums, but cannot get capchas to show up in webforms at all.
I am a newbie to drupal, do excuse me

Comments

gvdvenis’s picture

Status: Needs review » Active

I did not find a patch attatched, so changed the issue status to active...

avb’s picture

same problem at my site

quicksketch’s picture

Project: Webform » CAPTCHA
Version: 6.x-2.0-beta6 » 6.x-1.x-dev
Category: bug » support

Webform works the same as every other form in Drupal. Moving support request to the CAPTCHA queue.

1. Install captcha
2. Go to admin/user/captcha
3. Check "Add CAPTCHA administration links to forms"
4. Go to your webform node (just view it, do not edit)
5. Expand the "CAPTCHA" fieldset at the bottom of the form
6. Click "Add CAPTCHA here"
7. Add the captcha
8. Logout and see the captcha

nadeemkotwal’s picture

Thank you for your response.
I have done steps 1-3
When I view the webform node, as you suggested in step 4, there is no Captcha fieldset at the bottom of the form to click "Add CAPTCHA here"

quicksketch’s picture

Make sure you've set permissions for captcha if you're not the superuser on your site. The CAPTCHA form is quite subtle, it's only a collapsed fieldset at the bottom of the form.

nadeemkotwal’s picture

Finally working !
Reinstalled Captcha, and I was then able to see the Catcha collapsed fieldset in Webforms.
Many Thanks to all

quicksketch’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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

francewhoa’s picture

#3 works for me. Thanks quicksketch

At step 4 it's VERY IMPORTANT to just VIEW the webform node, do NOT edit it. Otherwise it won't work.

I proposed to add a CAPTCHA.txt file into current Webform's tarball.

Holoduke’s picture

Ok, the solution works fine.
But the problem is at /admin/user/captcha you can set: form_id To add captcha to forms.

I added the ID generated by webform (i saw at source code) and the ID was: webform-client-form-14
I tried writin this at list but I got a error message: invalid id

When I done the solution proposed here I came back to /admin/user/captcha and I saw the module wrote webform_client_form_14
So I think the problem is '-' and '_'. Perhaps an small change could fix this problem.

avior’s picture

I have added the form id manually in the captcha admin form , and it work right away

to find out the webform form id
edit your webform and look at the node id of the webform i.e. example.com/node/120/edit

just add "webform_client_form_120" to the captcha admin form

tonco’s picture

Beautifull it works :D thanx AVIOR

snorkers’s picture

This solution does work, but there is a downside: it means that any user who has the Administer CAPTCHA role gets the 'Add CAPTCHA here' fieldset on every form, including the Search form etc. - can really break site layout for certain authenticated users.

Is there another solution?

The ideal from a content creation/usability/logic perspective would be a webform-oriented solution: Have an additional webform 'Captcha' component available to be dragged into form. It looks like an attempt is being made to do this with Mollom #259488: Webform support, although that solution seems to be very much in DEV

frishaynes’s picture

Thanks

espirates’s picture

Using Domain Access this does not work, unable to view any capchta on webform. With DA we can't just view the node, we have to click edit since we are logged into a different domain.

It's really surprising that webform has no built in protection from spam.

sidrasultana’s picture

thanks

jfox77’s picture

Version: 6.x-1.x-dev » 6.x-2.4

I was also having problems getting my CAPTCHA to show up on a webform. This worked for me:

- Disabled CAPTCHA, Image CAPTCHA, and reCAPTCHA modules
- flushed cache
- Re-enabled CAPTCHA, Image CAPTCHA, and reCAPTCHA modules
- flushed cache again
- Went to User management >> CAPTCHA >> CAPTCHA >> General Settings and added my webform in the format of 'webform_client_form_128' (if you inspect element with Firebug you can see the form id this way)

BTW: My versions are CAPTCHA 6.x-2.4, reCAPTCHA 6.x-1.7, Webform 6.x-3.17

sitobastida’s picture

Great! #17: admin: node settings displayed in both "settings and filters" an This worked for me and saved me some headaches.

Coop920’s picture

Issue summary: View changes

#10 is the key to this whole thing