Open brasileric opened 4 years ago
This is actually being caused by userforms 5.6+ I believe they added change tracking there, I'm not 100% sure there is much I can do to mitigate the change tracking from locking on to the hidden field that Recaptcha adds to the page when it initializes. I will try to investigate however it may take me quite a while to do that. It may be worth your while to raise an issue over on silverstripe/silverstripe-userforms about the change tracking apparently applying to hidden fields.
Also can you confirm which version of userforms you are using?
Ah I see, I thought Silverstripe 4.6 was the cause, but than in the other websites the userforms version is also different I guess. In this website with the issue the version of userforms is 5.6.0 indeed. I will add an issue there as well.
Thanks for now and for your very quickly response!
@brasileric this issue in userforms might help you https://github.com/silverstripe/silverstripe-userforms/issues/868 .
Since I upgraded to Silverstripe 4.6 I get a javascript alert in forms with this recaptcha protection:
In get this in both cases: checked and unchecked the recaptcha. When I click Leave the form will still be sent (or not when unchecked). So the protections works, but this alert message is an issue.
Tried exactly the same configuration in a Silverstripe 4.4 and 4.5 website and there I don't experience this issue.