How to reload the google recaptcha widget after user submits invalid inputs

前端 未结 11 1654
既然无缘
既然无缘 2020-12-25 12:08

I have a registration form with the new google recaptcha widget on it. When a user submits info, we check the validation with javascript and return the problems to the page

11条回答
  •  一个人的身影
    2020-12-25 12:49

    Try calling the reload() function within ReCaptcha (version 1):

    Recaptcha.reload();
    

    How to Reload ReCaptcha using JavaScript?

提交回复
热议问题