• Resolved spassio

    (@notarim)


    Hi,

    I am using Forminator on various pages of my site, and the forms work just fine when users are logged in. However, the forms are not visible when a user is logged out, or when I view the site in incognito mode.

    For example, on my home page, there should be a form to suscribe to the newsletter at the bottom of the page.

    Can anyone help me understand where the error could be coming from?

    Many thanks!

    Mark

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @notarim

    I hope you’re well today!

    I checked the homepage and the form is there but it’s not visible. It has the “display:none;” CSS rule set.

    There’s also related JS error happening so that suggests that there’s either something “breaking” form rendering on front-end or there’s a conflict.

    That said, I noticed that CSS on site seems to be heavily optimized by SG Optimizer currently. Could you try

    – clearing SG cache fully
    – if it doesn’t help – try disabling CSS optimization options in SG Optimizer configuration and then clear cache again.

    IF that helps, it might be necessary to exclude Forminator CSS/JS from this optimization but let’s please check first if it’s related as I suspect. Could you try above and let us know about result?

    Best regards,
    Adam

    Thread Starter spassio

    (@notarim)

    Hi Adam,

    Thanks for reaching out!

    I have cleared the SG cache fully, and also deactivated two CSS optimisation options in SG (Minify & Combine). The form is still not visible. Could you please take another look?

    Many thanks,

    Mark

    It looks like the whole form is hidden if you only have form submission enabled for logged in users.

    There’s an option under Forminator > Behavior > Security called “Enable logged in submission only”. Is that checked? I just tested it in my setup, and when it’s checked my form does not render when I view my site in an incognito tab.

    Hope that helps!!

    Thread Starter spassio

    (@notarim)

    Hi katn401,

    Thanks for helping out!

    Sounded like a great solution, but I checked my setup and that option is not checked in my settings.

    Thanks for reaching out though ??

    All the best,

    Mark

    Hi @notarim,

    Perhaps you have a theme option that is overriding the style set by the form. You can verify by checking your theme options and also see if any other plugin may be modifying CSS assets. As a temporary workaround, please add this code to your Custom CSS section so the form can be displayed:

    form#forminator-module-16974 {
        display: block!important;
    }

    Best,
    Jonathan S

    Thread Starter spassio

    (@notarim)

    Hi Jonathan,

    Thanks for your help! That CSS code worked perfectly on my home page, thank you.

    I have another few forms on the site which still don’t show up though. Would I need one custom CSS code per page?

    These are the pages where the contact forms do not work:
    https://spassio.com/terms-of-use/
    https://spassio.com/privacy-policy/
    https://spassio.com/cookie-policy-eu/

    Thanks again for your help,

    Mark

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @notarim,

    Seems like all 3 pages has the same form, so only the following CSS should be enough to display on all the pages:

    #forminator-module-16979 {
    	display: block !important;
    }

    You can add the CSS via the default WordPress customizer, under Appearance > Customize > Additional CSS.

    Kind Regards,
    Nithin

    Thread Starter spassio

    (@notarim)

    Hi Nithin,

    That works perfectly, thanks so much for your help!

    Best wishes,

    Mark

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Thank you for letting us know.

    And for marking this one as resolved, do reach out to us if you find any further issues.

    Regards,

    Jorge

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Forms not working when logged out’ is closed to new replies.