Skip to content
loading...

re: Adding reCaptcha v3 to a Rails app without a gem VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi Felice, great article! I'm handling my forms with ajax (remote: true) and I'm struggling to figure out how I can reset the recaptcha after a su...
 

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.

code of conduct - report abuse