• Resolved Supplement Genie

    (@supplementgenie)


    I am using forminator for 3 forms on my website which was working fine. I then moved to Autoptimize to speed up the website and now the forminator forms do not display.

    I noticed that inspecting the page, the forms have been set to “display:none”

    I can remedy this by adding custom CSS and changing to “display:block !important”

    However, one of my forms uses pagination and the CSS fix does not resolve this error.#

    I was wondering if there was a JS/css file which I should exclude from caching?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @supplementgenie

    I hope you are doing well!

    The Autoptimize plugin has many options and possible setting variations, so far I’ve tested the plugin on my end and could not replicate the same issue.

    Would you please try deactivating caching on pages where forms are added? Please edit each form, open Behaviour tab and enable “Prevent page caching on form pages”. Please have a look at this screenshot:
    https://monosnap.com/file/5m0U5AK2xHDnlfX0bpK9Jlm5vxixJd

    If this will not help to resolve this issue please exclude the Forminator folder from Autoptimize settings. Exclude /wp-content/plugins/forminator/ directory.

    Let us know how it went!

    Kind regards,
    Nastia

    Thread Starter Supplement Genie

    (@supplementgenie)

    @wpmudev-support9 I sorted the problem. I hade removed jquery.js from the exception list as it was shown as render-blocking.

    But it appears that it does not work correctly if combined and minified so when I re0added it, the forms worked fine.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @supplementgenie

    Thank you for letting us know and it’s great to hear that you found solution!

    Jquery is quite crucial usually so removing it in most cases will break the site. Minified and/or combined – that depends, on some sites it will work fine, on some it might be breaking things and that, unfortunately, has to be tested “experimentally”.

    It’s great to know, though, that you managed to deal with it and thanks for sharing solution with us!

    Best regards,
    Adam

    Hello @supplementgenie

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Form not displaying due to caching’ is closed to new replies.