I have implemented the recaptcha in the cred form like this: hidden link
But when I try the form is says something is wrong, while everything on the front is selected/filled in: hidden link
I have created the API keys here: hidden link
And implemented them here: hidden link
The form is on this page: hidden link
Could you kindly assist me on what can be wrong here?
Thank you in advance.
Steff
EDIT: I can see that the recaptcha is working correctly when I am logged in as admin
Hello and thank you for contacting the Toolset support.
I don't think that the issue comes from the reCaptcha. I try to submit the form and I have an error message that does not specify what field is not valid. Then I noticed that the form includes two other fields, inside a hidden div(using the ds-hide CSS class). Check this screenshot hidden link
I assume that you want to connect the post that will be created by the form to a parent Coach, right? If that's the case, you will need to pass the value to the relationship field shortcode:
... value="[wpv-post-id]" ...
If you don't want to link the post to a parent coach, just remove the relationship field shortcode and it will work.
If this does not help, allow me temporary access to your website to check this closely. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **
Hello Steff, I confirm that the credentials are working for me. However, my user does not have enough permissions to access the Toolset menus. Check this screenshot hidden link
Can you make sure that I have enough permissions to see the Toolset elements?
Hi there,
All right. I just changed the Role.
Thanks!
Well, everything seems to be ok. The relationship field has a value passed to it through a shortcode. So, I run a test and in the first rendering the ReCaptcha was not visible, but the relationship field has the value correctly. I submitted it and the ReCaptcha appeared, then I submitted again and the form has completed successfully.
The ReCaptcha does not appear in the first time, most probably because of a Javascript error:
frontend.js?ver=2.6.10:22 Uncaught (in promise) TypeError: credFrontEndViewModel.tryToReloadReCAPTCHA is not a function
at HTMLDivElement.<anonymous> (frontend.js?ver=2.6.10:22)
at Function.each (jquery.min.js?ver=3.6.0:2)
at onLoadRecaptcha (frontend.js?ver=2.6.10:20)
It seems to me like an incomplete plugin or a compatibility issue. To further investigate this, I'll need you to update all the involved plugins to the latest release, this way, we wouldn't be investigating an issue that could have been resolved. Please ** make a full site backup. ** Then, update Elementor plugins and Toolset plugins to the latest release.
Hi Jamal,
On my end the it is working now as well, when I am logged out as well.
I updated the Toolset plugins last week, but I saw a small textfield error. So I changed back the update for now, since I do not have the resources to have that textfield error fixed.
For now I think this is fine.
Awesome, I am glad I could help. I have to kindly ask you to mark this ticket as resolved. Thank you!