Skip Navigation

[Resolved] Error when reCaptcha is selected correctly

This support ticket is created 3 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 6 replies, has 2 voices.

Last updated by Jamal 3 years, 2 months ago.

Assisted by: Jamal.

Author
Posts
#2159299

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

#2159871

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. **

#2161885

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?

#2162049

Hi there,

All right. I just changed the Role.

Thanks!

#2162095

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.

#2162133

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.

#2162187

Awesome, I am glad I could help. I have to kindly ask you to mark this ticket as resolved. Thank you!