• Resolved luxworx

    (@luxworx)


    Hello,
    I’ve problems with forms not visible on my websites when logged out. The form style is set to display none.
    When I’m logged in as an administrator the form displays properly.
    I encounter this issue on several websites.

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

    (@wpmudev-support8)

    Hi @luxworx

    I hope you’re well today!

    Each form can be set to be visible only for logged-in users.

    Please check your forms and for each form (separately for each of the forms) make sure that “Enable logged in submission only” option in “Behavior” settings is disabled.

    Best regards,
    Adam

    Thread Starter luxworx

    (@luxworx)

    Thank You,
    I’m fine.

    The “Enable logged in submission only” is not checked and still my form is not displaying.
    It has style=display:none;

    <form id="forminator-module-284" class="forminator-ui forminator-custom-form forminator-custom-form-284 forminator-design--flat forminator_ajax" method="post" data-forminator-render="0" data-form-id="284" data-design="flat" data-grid="open" style="display: none;">

    I haven’t added this setting.
    This is the website: https://londonlady.pl/kontakt/
    The form should be on the left side of map.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @luxworx

    Thanks for response!

    I can see that “display:none;” there and it seems that form is set to load via Ajax. It should be invisible until it’s loaded but then, the visibility should be changed and it seems that part somehow “breaks”.

    Since you shared site URL, I was able to visit it and noticed that there’s important error showing up in browser console: “jQuery is not defined”. This is very likely explaining the case as if jQuery is not available for scripts, some features may not/will not work – those that are handled by JS scripts that use jQuery library.

    Are you using any “asset optimization” type plugin on site? Such plugin could be our own Hummingbird or popular Autoptimize plugin. Most of the caching plugins also provide some sort of CSS/JS optimization features.

    If yes, make sure that jQuery is either excluded (suggested way) from such optimization or, at least, it’s not deferred/loaded with delay/in footer as this is often causing such issues.

    You can also try switching form rendering, disabling “Load form using AJAX” option. You can change it in “Behaviour” settings of the form in question.

    Best regards,
    Adam

    Thread Starter luxworx

    (@luxworx)

    Thank Your for your guidelines.
    This was caused by jquery defer setting in async javascript plugin.
    I’ve change from defer to async and now the form is displaying.
    Thank You very much for the support!
    Will give you 5 star rating.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @luxworx

    I hope you are doing well.

    Thank you for the update and we are happy to hear you like the plugin and support.

    We are marking this ticket as resolved, however, feel free to ping us any time you need.

    Best Regards
    Patrick Freitas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Form not visible when logged out,’ is closed to new replies.