Google验证码块按钮输入提交

时间:2017-04-16 15:19:19

标签: html recaptcha

我的谷歌验证码V2有问题。它完美地运作。问题是我无法点击提交输入来验证我的表单。

<form method="post" action="xxxxxxx">
    <div class="champ_de_connexion">
        <span id="label_connexion">    
            <input type="email" name="email_connexion" id="email_connexion" required/>
        </span>
        <span id="label_connexion">
            <input type="password" name="pass_connexion" id="pass_connexion" required/>
        </span>
            
        <div class="g-recaptcha" data-sitekey="xxxxxxxxxxxx"></div>
            
        <span>
            <input type="submit" value="aa" />
        </span>
    </div>
</form>

在我的网页页面中,我有这个:'

<script src='https://www.google.com/recaptcha/api.js'></script>

要验证我的表单,我必须单击输入类型的电子邮件或密码,然后按Enter键。

2 个答案:

答案 0 :(得分:0)

要检查的一些事项

  1. 必须使用HTTPS协议加载脚本(docs

  2. 删除所有不需要的HTML,只需在表格帖子中有一个提交按钮即可开始测试

  3. 检查调试控制台中的错误消息,您的网站密钥错误可能很简单。

  4. 检查网络浏览器选项,查看是否在点击时触发了任何事件。

答案 1 :(得分:0)

要解决我的问题,我不得不从我的CSS中删除它:

transform-origin:0 0;