I am using Episerver.Forms.Samples reCaptcha(Google Recaptcha). In the recaptcha block I have entered my sitekey and secretKey and the necessary script code on my html file.I am successfully able to display the Recaptcha.
But after verifying the Recaptcha when I submit the formI always get an error "Invalid captcha value."
Is I am missing something?
Many thanks in advance.
Check 1: What browser are you using, Id there any error in console? Try with different browser.
I am using chrome browser.
I have tried in different browsers also but still getting error "Invalid captcha value."
On my console I am getting an "epi is not defined" error for forms.
I have already visited that link few days ago and also posted a comment there,which I am posting here again.
" I am not using @RenderSection anywhere in my project instead I have used @RenderBody() method in my layout file and have include RequiredClientresources in header and footer.
But still getting the epi is not defined error."
Are you saying that "epi is not defined" error is the actual cause of error "Invalid captcha value." that I am getting on my console.
Hi @Aman, did you find a solution for this? I'm having the same issue.
here's our form versions
Recaptcha Upgeaded to Version 3 with Latest form samples.
we found that problem was not in recaptcha element but in one of the text boxes that has a condition to show/hide. There was a condition for this element but an action (show/hide) was missing leading the form to not submit.
Thaks for this information!