T
T
tyoma_koder2021-02-26 10:20:37
reCAPTCHA
tyoma_koder, 2021-02-26 10:20:37

Google captcha v3 not working?

I connected the script from Google with the site key

<script src="https://www.google.com/recaptcha/api.js?render=ключ_сайта"></script>

inserted the same key into the form
<form class="ajax">
    <input type="text" placeholder="Имя" name="name">
    <input type="text" placeholder="Телефон" name="tel">
    <textarea name="txt"></textarea>
    <div class="g-recaptcha" data-sitekey="ключ_сайта"></div>
    <div id="recaptchaError"></div>
    <button class="send" data-sitekey="ключ_сайта" data-callback='onSubmit' data-action='submit'>отправить</button>
    <div class="msg"></div>
</form>

Writes the wrong key, although it is correct, what's wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question