Can I exclude the external files:
yeah, simply add recaptcha/api
to the JS optimization exclusion list.
hope this helps,
frank
That doesn’t seems to help.
The recapctcha still loads only sometimes.
Do you have any ideia why?
weird it loads sometimes and sometimes not. what does your browser (error) console say?
Thats the problem, it doesn’t says nothing.
But when I disable autoptimize, it works fine.
then I’m afraid I’ll have to ask you the inevitable “what is your website’s URL”-question, so I can have a look ๐
frank
The website is http://www.gabinetedesaude.pt/
But I have removed the tag recaptcha from the forms because it doesnt submit when the recaptcha is not loading.
I have created a test form page with recaptcha, you can see it here:
http://www.gabinetedesaude.pt/teste-form/
hmmm, the fact you’re also doing mod_pagespeed is complicating matters significantly ..
could you try adding recaptchaCallback
to the JS optimization exclusion list?
frank
Adding recaptchaCallback to the JS optimization exclusion list solved the problem.
Thank you very much!
great, happy it works ๐
frank
Hey there,
I’m using a siteorigin contact form with recaptcha functionality. When optimizing .js with autoptimize and deleting cache, recaptcha shows on first load but disappears on any consecutive page loads. Adding recaptcha/api.js to the exclusion list does not solve the problem.
Would you mind taking a look at it? http://www.physiotutors.com/contact-us
Thanks in advance
did you try adding recaptchaCallback
as in this comment? ๐
Yes I have also added this part to the exclusion tab without results
Sorry for double posting but i am seeing a certain behavior.
Chrome: Click on “Contact Us” Tab and ReCaptcha does not show. Refresh the page (CMD+R) and ReCaptcha shows fine, Refreshing the page (CMD+R) and reCaptcha shows. Clicking on “Contact Us” tab and reCaptcha does not show.
Firefox: reCaptcha does not show
Safari: reCaptcha does not show
Really have no idea how to fix it. Would you recommend a reinstall of your plugin and check step-by-step what causes this behavior?
seems to be specific to the siteorigin implementation, can you try excluding so-widgets-bundle/widgets/contact/js/contact.min.js
?
frank