• Resolved steklinessk

    (@steklinessk)


    Hey.

    Thanks for the plugin, love Turnstile.

    However I have some issues with the Elementor Pro forms implementation. It works perfectly fine on desktop, even if I resize the window.
    But the check isn’t getting loaded on mobile phones, I’ve tried 2 different android phones, both Chrome and Firefox.

    The script is loaded, insofar that the check happens, and the submitting of the form is blocked and it shows an error message.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter steklinessk

    (@steklinessk)

    I don’t know if its releated but I just tried on edge, and I get a Jquery error in the part where the turnstile is loaded:

    Uncaught ReferenceError: jQuery is not defined

    jQuery(document).ready(function() {
    if (jQuery(‘.elementor-form[name=”Indmeldelse”]’).length > 0) {
    jQuery(‘.elementor-form[name=”Indmeldelse”] button[type=submit]’).before(‘
    ‘);
    if (jQuery(‘.elementor-form[name=”Indmeldelse”] #cf-turnstile-em-1790906682 iframe’).length <= 0) {
    setTimeout(function() {
    turnstile.render(‘.elementor-form[name=”Indmeldelse”] #cf-turnstile-em-1790906682’, {
    sitekey: ‘0x4AAAAAAABtvoH2Hph1HL5-‘,
    });
    }, 50);
    }
    }
    });

    Thread Starter steklinessk

    (@steklinessk)

    Nevermind, i fixed it by adding this to my functions file:

    wp_enqueue_script(“jquery”);

    OK great, glad you got it sorted. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Turnstile not getting loaded on mobile devices’ is closed to new replies.