Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [captcha]

A challenge-response test used for determining human users is called CAPTCHA.

0
votes
1answer
11 views

reCaptcha does not display

I've installed Captcha and reCaptcha in Drupal 8 because I want to use it on the site contact form. I believe I have all the configuration options set correctly but they are limited. For example, ...
0
votes
0answers
16 views

How do I add a CAPTCHA inside a pop-up contact form?

Inside a pop-up form, I want add Recaptcha, I install Recaptcha module Drupal 8, $form['captcha'] = ['#type' => 'captcha', '#captcha_type' => 'recaptcha/reCAPTCHA',]; and in my twig ==> {{ ...
1
vote
1answer
42 views

How can I theme the Captcha/ReCaptcha error message?

I'd like to change how the error message is when a user fails the recpatcha. Currently it is just plain text on top of my form but I would rather have it be a modal or at least be in red. I looked ...
0
votes
2answers
83 views

Webform in block not displaying recaptcha

I have a webform (drupal 8) inside of a block on the front page. I added the repatcha module and see that if the webform is not in the block it displays fine but when it is in the block it does not ...
-2
votes
1answer
59 views

webform_submission_ID post blocked by CAPTCHA module

After solving reCAPTCHA and submitting the form I am getting error: The answer you entered for the CAPTCHA was not correct. Recent log message says: webform_submission_ID post blocked by CAPTCHA ...
0
votes
1answer
39 views

Recaptcha dissappears after form submission

I am using webform with ajax and for spam protection I am using recaptcha module. Everything works fine when form is submitted once with all fields filled and recaptcha is also appearing on it. But ...
1
vote
1answer
1k views

Add captcha to webform

I'm working on a drupal 8 project, I've created a webform and trying to associate a captcha to my webform using captcha contrib module. I've a personalized template for my webform in which I render ...
1
vote
1answer
78 views

How can I prevent the display of CAPTCHA for other forms except the login form?

I have Drupal 7.59 installed and CAPTCHA is visible for several forms. I want it visible only for the login form. In this section: admin/config/people/captcha, I set the 'No Challenge' for other form-...
0
votes
0answers
225 views

Add Captcha to Comment Form

How can the reCAPTCHA module be applied to a node's comment field in Drupal 8? This particular node has a comment field added with the machine name field_story_comments. That field is a custom ...
1
vote
0answers
245 views

Google invisible recaptcha doesn't work with form file fields

I have a form in my drupal project which has a managed_file field. It worked perfectly until I added invisible recaptcha for the forms. The file is getting uploaded but when I submit the form the ...
0
votes
0answers
53 views

How to update old reCAPTCHA V1 to reCAPTCHA V2

Both CAPTCHA and reCAPTCHA modules say they are updated (7.x 1.5 , 7.x 2.2), but reCAPTCHA V1 is still coming up (and not working since it's shut down). How do I activate the updated reCAPTCHA module ...
0
votes
1answer
972 views

Webform issue with captcha

I have created about 11 webforms in my website. Now I want to add recaptcha challenge in all of them. I have installed the captcha module and recaptcha module. recaptcha is coming in all these forms. ...
0
votes
1answer
384 views

How to update old CAPTCHA to use reCAPTCHA V2

I am very new to drupal I am trying to update a drupal site to reCAPTCHA V2 but I can't figure out how to. I know I need a new site key and secret key which I have gotten; but how do I actually make ...
-1
votes
1answer
30 views

Edit of page with captcha requires solving captcha?

I just added a captcha to a page and it seems that the users with edit permission have to solve the captcha in order to edit/save the page. Is this normal behavior? Is there a setting that will allow ...
-1
votes
1answer
692 views

reCaptcha get the code & use in custom module

How to setup reCaptcha to appear on the registration form? I followed above link & able to setup reCaptcha for Login form. It works fine. Now for login I'm creating my custom Multi-Step form. 4-...
0
votes
1answer
821 views

reCaptcha does not display on modal window(colorbox) webform

I have a webform that I want to add a reCaptcha to. So far I've done everything properly, the webform will display a recaptcha box below the form when viewing the node form. I have a modal window ...
0
votes
1answer
493 views

How do I programmatically validate reCaptcha?

In Drupal 7, I use the Commerce_Checkout_Redirect module which uses custom validation functions. It uses the following code. // Use the username as order email. // Email validation for the username ...
0
votes
1answer
2k views

How to add Google recaptcha to a custom form?

I have a form I'm creating programmatically with a custom module, and I need to add the Google recaptcha to it. In the Google reCaptcha module's settings page (/admin/config/spam_protection/...
0
votes
1answer
652 views

How to setup Recaptcha on pages cached by Varnish?

On a site where a contact form is displayed at the bottom of each page, I implemented Varnish caching. To do so I had to deactivate Recaptcha to avoid 'no cache -must revalidate " headers. I tried ...
2
votes
1answer
201 views

Captcha Failed on Custom Validation

I have my own validation on user form login like this : if ($form_id == 'user_login') { $form['#validate'][] = 'wemusic_user_login_validate'; $form['#submit'] = array(); ...
5
votes
1answer
3k views

How to setup reCaptcha to appear on the registration form?

reCaptcha is ported to Drupal 8. I've set up captcha and recaptcha. I've read Readme.txt from recaptcha, I've registered my site and got the API key and paste it, also I've looked at Readme.md from ...
0
votes
0answers
908 views

Google reCAPTCHA does not accept this submission. Try again please, or contact to Site support services

I have installed Google reCAPTCHA on my local Drupal 7 site and have configured the keys appropriately and set it to run only on the registration form. I keep getting the error: Google reCAPTCHA ...
1
vote
0answers
765 views

How to add multi recaptcha in a page

I have some custom form in a page ( sign/signup),first I try render them with google API instruction Paste this snippet before the closing tag on your HTML template: <script src='https://www....
0
votes
1answer
1k views

Captcha session reuse attack detected error message in form with anonymous user

I am experiencing a problem with the Captcha module 7.x-1.3 version (under Drupal 7.39) I don't use webforms My form is a simple Contact form My form does not contain any AJAX field My form does not ...
2
votes
1answer
870 views

Recaptcha not working in user register form

I am using google recaptcha in drupal 7 for user registration. The captcha works fine in the normal user register page but doesn't appear in the pop up dialog box for user registration? some more ...
0
votes
0answers
247 views

Captcha as an option in webforms

I have installed the recaptcha [as well as captcha] module and it works very well. However I've been asked by a stakeholder to include the option to add a reCAPTCHA on the webform itself - as a form ...
0
votes
1answer
287 views

Captcha doesn't work for my site

I'm using Drupal for my site, and I activated the CAPTCHA image for the login of the administration user. However, it doesn't work. I don't see the CAPTCHA image, which is replaced by a placeholder. ...
0
votes
1answer
328 views

How do I use an image CAPTCHA?

I am trying to show a CAPTCHA image in the form of my custom form, but it doesn't appear. Why doesn't this code show the CAPTCHA as expected? /** * Created by PhpStorm. * User: sony * Date: 28/02/...
0
votes
1answer
111 views

Is there a way to add a Captcha to Ubercart?

After some fraud attempts, I've been requested to add a Captcha to an Ubercart store in Drupal 7 and am surprised that in my searching I can't find any information on how to do this. Has anyone ...
1
vote
0answers
438 views

reCaptcha with custom language

I have reCaptcha (Google recaptcha) for my site by using module recaptcha It's working good but I need to change language to my local language. I've read language code https://developers.google.com/...
0
votes
1answer
811 views

Allow multiple instances of reCAPTCHA on the same page

There are several forms in a page and I use recaptcha module for all of them. The problem is, the recaptcha is generated for one of them not all of them. In Allow multiple instances of reCAPTCHA on ...
1
vote
1answer
549 views

Image Captcha Refresh not displaying refresh link

I want to add button/link for refreshing Image Captcha, therefore I've installed and enabled Image Captcha Refresh module. But this module is doing nothing, no refresh button is added, no options are ...
0
votes
2answers
52 views

New measures to prevent spam in comments of nodes?

I have a website with a node and comments which are moderated. I have installed Cache module, Image captcha (light distorsion). There was no spam till a few months ago. I installed Honeypot module and ...
1
vote
0answers
295 views

reCAPTCHA module not working for subdomains in Drupal 6

I am using Google reCAPTCHA https://www.google.com/recaptcha/intro/index.html for pointing to domains and subdomains, with reCAPTCHA drupal module. Now, personally i dont really think that it matters ...
0
votes
1answer
891 views

recaptcha not allowing login on localhost

hi Not sure if this is specifically a Drupal question but I'll try it here first. I am using Google recaptcha on my site, I set it up while the site was already online. but now I'm trying to make ...
1
vote
0answers
105 views

Entityform Recaptcha doesn't show notifications

I have an entityform in Drupal 7 site that uses the recaptcha module to protect against spam. It works nicely except for the fact that it doesn't show a warning or notification when it's not filled ...
1
vote
1answer
74 views

Do I need to run Captcha and Mollom simultaneously?

Just wondering if I have Mollom installed and running successfully on a D7 site, if I still need to keep Captcha enabled? I'm getting double captcha forms with both enabled.
3
votes
2answers
402 views

Not A Robot ReCaptcha not available - any reason? [closed]

Considering my site SPAM protection I decided to re-install https://www.drupal.org/project/recaptcha along with https://www.drupal.org/project/captcha again to re-consider but for some reason, the "I ...
1
vote
0answers
161 views

Using captcha in varnish setup

Captcha and any form of page caching don't get along. I understand why this is, but i'm wondering if there might be a certain setup to use captcha even in cached environments. Post requests for ...
1
vote
2answers
893 views

How to turn off Captcha for search?

I've installed the Captcha module and I need to remove it from the search button and form (just an unnecessary nuisance there). Captcha configuration allows me to turn it off for specific values of a "...
2
votes
0answers
65 views

Call to theme_captcha function in captcha module

I put a display at the top of the theme_captcha function in the captcha module for a particular form and it is getting into the function but where does this function get called from ??
3
votes
1answer
568 views

Add captcha to last step of multi-step form [closed]

I have a multi_step form which contains four steps. I want to add captcha to last step of the form.
2
votes
1answer
268 views

Is it possible to use multiple captcha based on language selection?

I have a multi-language site.I wish to integrate captcha based on which language is selected. Suppose if i selected language1 then captcha1 language1 => captcha1 language2 => captcha2
1
vote
2answers
1k views

Add placeholder or default value to captcha text field

There is a webform in my website, I added the captcha to this webform using this code: function THEME_form_alter(&$form, $form_state, $form_id) { if (strstr($form_id, 'webform_client_form')) {...
0
votes
1answer
238 views

add captch to registration modal box

I have a modal box for login and registration for my site. example.com I want to add the captcha with the registration process.I added the captcha module in my site. But the captcha only work with ...
1
vote
1answer
951 views

Image captcha module not showing in admin after updating Drupal to 7.35

I have a site with Captcha module installed and Image captcha submodule working perfectly before upgrading. I followed the recommended steps, and even did it in a nearly identical test site. ...
3
votes
1answer
296 views

Captcha is not working as expected.Visible on webform when logged out and invisible when logged in

I have not selected any of the options: Default challenge on non-listed forms. Add CAPTCHA administration links to forms Allow CAPTCHAs and CAPTCHA administration links on administrative pages I ...
1
vote
2answers
648 views

Use CAPTCHA module on a custom HTML form? (no use of Drupal Form API)

Is it possible to use the CAPTCHA module on a custom HTML form created in a content page of a Drupal 7 site? I am not using the Drupal Form API or webform modules. The form has the following code: ...
4
votes
2answers
889 views

How to bypass CAPTCHA during Behat functional testing?

We have a site that uses the CAPTCHA and CAPTCHA After modules to protect forms from invalid submissions. We're doing some functional and BDD testing using Behat and the tests are sometimes triggering ...
0
votes
1answer
286 views

How can I add a captcha to this HTML form [closed]

I wanted to add a captcha box to this form. The past developer added this form as html within the content editor.. how can i integrate the captcha to this form? I'm relatively new to drupal and work ...