DEV Community

Discussion on: Adding reCaptcha v3 to a Rails app without a gem

Collapse
 
morinoko profile image
Felice Forby

Hi Ben, thanks for reading!

Unfortunately, I've never done the resetting with ajax myself, so I can't give you any tips from my own experience. I was just checking out some other blogs and the google documentation, though, and you might be able to use the reCaptcha javascript api and reset it with grecaptcha.reset(widgetId);. This blog post mentions it but not sure if it works.