reCaptcha issue

OK, i'm going to have to see which site has the least caching enabled and least traffic to test this on. Will revert back.
 
Fabrik's caching options are in list settings (Advanced) or in options (Global). But I don't know if this is affecting modules.
 
Ok, so I'm still kind of working on this one. Witch conservative caching on, if I fill in the form, it just goes back to the form with no warnings.
With caching off, I did the same, then I get the warnings.

I left Fabrik's caching as is, in other words, on default. The Helix 3 template has Minify CSS and JS enabled.
On that specific page, that is a Page Builder page, not a regular com_content page. So the form module is embedded using Modules Anywhere ( https://www.regularlabs.com/extensions/modulesanywhere ). It uses a short code like {module xxx} with xxx being the module ID, in a regular text block.

Here's the form: https://www.solarconnect.africa/get-quote
 
Ok so I tested this again on this site: http://www.affordablehomesa.co.za/

Was thinking last night, perhaps I did not clear cache properly after testing it on the solar site.

First I disabled Joomla Cache.
The result was, form returns back to itself with no warnings. If I refresh the page, then the warnings come up, even comes up on other pages throughout the site even though I did not submit the form on those pages.
2nd, disabled minify css and js.
Result, the same.
Then I disabled Fabrik cache globally, result the same.
Then I physically disabled the System Cache Plugin.
The result was the same, with the difference, even if I keep refreshing, the warnings still don't come up.

I think it's possibly safe to say, this is not a cache issue. After every adjustment, I also cleared the Joomla cache. PageSpeed is also not enabled on that site.

*edit, just out of interest, long ago already i gave up on having the Ajax form validation switched on on any forms as I just could never get it to work.
Another point I'd like to raise is, on this Affordable home site, it's all Helix3 template, I did not use PageBuilder for any of the pages. And it's all Fabrik module, no Modules Anywhere.
 
Last edited:
*edit, just out of interest, long ago already i gave up on having the Ajax form validation switched on on any forms as I just could never get it to work
oh, I think it has to be ajaxfied.
 
Ok, Ajax seems to work now on both. At least it warns the user if they miss a field. I took a chance anyway and tried to submit the form without filling in fields, but that just takes you back to the form again with no warnings.

Going to test it now on the more advanced sites. Thanks for that.
 
OK, well it seems to work on all those sites now. Ajax not giving hassles like it did before. I have Page Speed on on this site: https://www.solarconnect.co.za too, it works fine there, but that site does not have reCaptcha installed.

It's not popping up with any validations on https://www.blackalsatian.co.za though. And it does not even submit. Even when you refresh. So I took a chance and disabled reCaptcha, which boom, makes it work again, with Ajax on.

So, this brings me back to my original title of this thread. There seems to be some weird thing going on with reCaptcha messing with validations or something. With reCaptcha element unpublished, it works fine with Ajax enabled.

Another observation I made now while testing all these forms, when you let your browser auto fill the fields, Ajax also seems to be struggling a bit.
 
It's working fine on my site.
Is it working with a normal form (menu directly or from list view) with captcha?
JS errors?
 
It seems with reCaptcha on, linking to a normal Fabrik form page, not a module, and PageSpeed on, it works.

It does bring up a weird error though, see attached screenshot. That's the error I saw originally making me think it's reCaptcha.

When I fill in the missing fields, then it does submit.
 

Attachments

  • captcha.jpg
    captcha.jpg
    23.4 KB · Views: 293
Quick update, forgot to check the JS for you. So, went to check it, then discovered the Google Map plugin on that page has problems. Works perfectly now.

So it seems, linking directly to a form has no issues, only when it's in a module.
 
Is there possibly any other solution to this besides disabling recaptcha? Stupid spammers keep hammering these sites now.
 
What Captcha method are you using?

I just tested using the "invisible" method, and it works fine in a module.

https://www.screencast.com/t/6mjoauayXk

As you can see, the Javascript fires first on submit, gets the response token from Google, the form submits, then the server side code runs the validate, which succesfully verifies that token with Google.

I haven't tested with the visible recaptcha, as I never use that any more. But it should work (famous last words), as it uses pretty much the same code.

-- hugh
 
Also using invisible.

I don't understand it.

The one thing all these sites have in common is the Helix Framework.

Has to be something to do with that then?
 
Oh, hang on, do you have AJAX validation enabled? I just remembered I noticed an issue with that and Recaptcha recently.

Gimme a few mins to test that.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top