• Resolved MarcelC

    (@imc67)


    Was extremely happy to find this plug-in and started to convert/install it on tens of websites I manage. Thanks for this wonderful plugin!

    However, starting with WP+Contactform went well. But WP+Forminator doesn’t work. The Captcha doesn’t show but in the browser console you can see your code.

    In Cloudflare it is set to Managed. After trying to submit the Form you get an error like “your form is not valid, solve the errors”.

    <input type="hidden" name="referer_url" value="https://www.***.nl/">
    <div id="cf-turnstile-fmntr-2026247910" class="cf-turnstile" data-sitekey="*****" data-theme="light" data-retry="auto" data-retry-interval="1000" data-name="cf-turnstile" style="margin-left: -15px;"></div>
    <br>
    <script>document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById("cf-turnstile-fmntr-2026247910");setTimeout((function(){e.innerHTML.length<=1&&(turnstile.remove("#cf-turnstile-fmntr-2026247910"),turnstile.render("#cf-turnstile-fmntr-2026247910",{sitekey:"*****"}))}),200)}));</script>
    document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById("cf-turnstile-fmntr-2026247910");setTimeout((function(){e.innerHTML.length<=1&&(turnstile.remove("#cf-turnstile-fmntr-2026247910"),turnstile.render("#cf-turnstile-fmntr-2026247910",{sitekey:"*****"}))}),200)}));
    <script>document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById("cf-turnstile-fmntr-2026247910");setTimeout((function(){e.innerHTML.length<=1&&(turnstile.remove("#cf-turnstile-fmntr-2026247910"),turnstile.render("#cf-turnstile-fmntr-2026247910",{sitekey:"*****"}))}),200)}));</script>
    <script>
                document.addEventListener("DOMContentLoaded", function() {
                    document.querySelectorAll('.forminator-custom-form').forEach(function(el) {
                        el.addEventListener('submit', function() {
                            if (document.getElementById('cf-turnstile-fmntr-2026247910')) {
                                setTimeout(function() {
                                    turnstile.reset('#cf-turnstile-fmntr-2026247910');
                                }, 4000);
                            }
                        });
                    });
                });
                </script>
    
                document.addEventListener("DOMContentLoaded", function() {
                    document.querySelectorAll('.forminator-custom-form').forEach(function(el) {
                        el.addEventListener('submit', function() {
                            if (document.getElementById('cf-turnstile-fmntr-2026247910')) {
                                setTimeout(function() {
                                    turnstile.reset('#cf-turnstile-fmntr-2026247910');
                                }, 4000);
                            }
                        });
                    });
                });
                
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Elliot Sowersby

    (@elliotvs)

    Thanks for the message. I will take a look into this!

    Plugin Author Elliot Sowersby

    (@elliotvs)

    Hi,

    I’ve looked into this but it all seems to be working fine for me with Forminator.

    Please could you make sure you are using the latest version of Forminator, WordPress, and Simple Cloudflare Turnstile?

    Please also try temporarily disabling all plugins except Forminator and Simple Cloudflare Turnstile, and see if that resolves it.

    Hi

    Unfortunately I have same issue.

    I deactivated all other plugins but it still doesn’t show on Forminator. What’s odd is it did at first when I first installed it a few hours ago, then thereafter nothing. Tried creating new forms, still nothing.

    • This reply was modified 1 year, 9 months ago by redrobred.

    Update … I believe I discovered the “problem”.

    If in Forminator settings>Behaviour>Rendering> … and have “Load form using AJAX” enabled, then Turnstile does not work. Disabling “Load form using AJAX” .. then Turnstile and Forminator works.

    So I disabled “Load form using AJAX” ??

    • This reply was modified 1 year, 9 months ago by redrobred.
    Thread Starter MarcelC

    (@imc67)

    Indeed this solves it for now @elliotvs couldn’t it be great if your super plugin also works with this setting on?

    Yes let’s hope Elliot can do something about it.

    But happy this plugin exists.

    Plugin Author Elliot Sowersby

    (@elliotvs)

    I see! I will take a look into it when I get the chance. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Doesn’t work with Forminator’ is closed to new replies.