Add reCAPTCHA v3 to my form validation

Yesterday I experienced a crisis with my programming. I am not yet at this stage where I can easily write it. I need reCAPTCHA v3 in the form in the project. I added the code which is in Google documentation. Now I have a big problem with connecting this to the validation which I have written in Javascript for this form (validation is rewritten from a tutorial) I need it already in the project and I can’t do it. I put the code on Codepen - https://codepen.io/mary_pieroszkiewicz/pen/LYpvyGa (but this shipping does not work there) the code is posted here: https://www.3ns.com.pl/contact.html

Could you help me with this. I’m learning this JS but it must work in the company … Thank you for help.

Mary

Does the solution described here work: https://stackoverflow.com/a/54118106 ?

1 Like