Can't get it to work

Created on 7 February 2024, 11 months ago
Updated 20 March 2024, 9 months ago

Problem/Motivation

So I installed CAPTCHA with composer, set "Add CAPTCHA challenges on all forms", navigated to my form at /contact/join (the one I created from my /admin/structure/contact page), but there's no captcha there.

Okay, so I see there's something called Captcha Points that I need to configure. I go to add a CAPTCHA point but i'm not sure what a "Form ID" refers to or where to find that. Quite a few search results later I've got some varying answers to this so I try every single one of them.

I've got multiple targets now for my captcha points to cover all my bases: contact_join_form, contact_message_feedback_form, contact_message_join_form, and contact_message_personal_form

I clear the cache (both the captcha one and the site one in performance) but I still don't see the captcha. It doesn't appear in the Manage Fields, nor is there an option for it to add a field. I don't see it in display either.

Am I missing some key steps to set-up? Is there a document that outlines how to use this module? I'm looking at the home page for the module and not seeing any sort of walk-through for how to setup, so I'm assuming it's assumed to be straightforward, but there's a lack of information here to get started.

Any advice is greatly appreciated. Thanks

Steps to reproduce

Create a new contact form through the "Structure" section of Drupal 10

Install the module and try to use it for the first time.

Proposed resolution

Add better documentation and explanation of what a 'formID' is, where to find it, how to configure and set-up captcha on form structures...etc

💬 Support request
Status

Active

Version

2.0

Component

User interface

Created by

🇺🇸United States ryanbuckley@gmail.com

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ryanbuckley@gmail.com
  • 🇮🇳India rajdip_755 kolkata

    Hi @ryanbuckley@gmail.com, You can check this thread, I have tried this one and working fine for me. https://www.drupal.org/project/captcha/issues/2736881#comment-13594561

  • 🇺🇸United States ryanbuckley@gmail.com

    Okay after following those very clear steps provided by someone to help overcome the extremely opaque set-up steps that were missing, I got it to work, but only after also realizing that the captcha does not show for my logged in admin user, even if I choose the "always show" option.

    Any suggestions for how to prevent that setting from occurring?

  • 🇦🇹Austria nofue

    Have a look to permissions. The Admin role has "Administer CAPTCHA settings" and "Skip CAPTCHA" set, and you cannot revoke these permissions. So I suppose there is no way to change this behavior, although I wonder why you want to be confronted with a CAPTCHA as an Admin who ist setting the rules? If it is for testing purposes: generate a second user with non-Admin permissions.

    This of course will always be the save way to deal with permissions: create at least two accounts and do the admin tasks as admin (with a very cryptic and hard to guess user name) and the editing tasks as f.e. editor. Helps a lot to keep people from guessing your admin password, when they can see the display name on every article you put online …

Production build 0.71.5 2024