V
V
Viva88882021-07-20 17:23:17
CAPTCHA
Viva8888, 2021-07-20 17:23:17

Why can't install google captcha?

Hello. Only 3 captchas are shown. 4 captcha does not appear on the page

In My page with html In My page with js
<div id="captcha_reg<?=$i?>"></div>


var review_recaptcha_widget, review_recaptcha_widget_reg;
// KEY FOR RECAPTCHA
const recaptcha_sitekey = 'xxxxxxbxxxxxxxxxxxxxxxxxxxxxxA';

var onloadCallback = function () {
  if ($('#captcha').length) {
    review_recaptcha_widget = grecaptcha.render('captcha', {
      'sitekey': recaptcha_sitekey
    });
  }
  if ($('#captcha_reg1').length) {
    review_recaptcha_widget_reg = grecaptcha.render('captcha_reg1', {
      'sitekey': recaptcha_sitekey
    });
  }
  if ($('#captcha_reg2').length) {
    review_recaptcha_widget_reg = grecaptcha.render('captcha_reg2', {
      'sitekey': recaptcha_sitekey
    });
  }
  if ($('#captcha_reg3').length) {
    review_recaptcha_widget_reg = grecaptcha.render('captcha_reg3', {
      'sitekey': recaptcha_sitekey
    });
  }
  if ($('#captcha_reg4').length) {
    review_recaptcha_widget_reg = grecaptcha.render('captcha_reg4', {
      'sitekey': recaptcha_sitekey
    });
  }
};

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fen18, 2021-08-06
@Fen18

Regarding issues with captcha, this forum
, captchaforum.com, helped me out more than once. Look at it. There are many different options for solving your problem, there is a detailed description of how to do and configure. You can even ask a question, I'm sure that the users of this forum will help you find the answer to it. I'm sure this is what you need, come and ask

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question