Hi @casket21
I hope you’re well today!
There shouldn’t be any conflicts with SG Optimizer alone (at least, no known ones that would cause the form to not be displayed) but if there’s an intense CSS optimization and caching there might be some additional action needed.
I noticed that you are using Elementor on site so please try this:
1. clear SG cache fully and then temporarily disable CSS optimization options and cache
2. go to Forminator and edit the form in question (that one that doesn’t display); just do some insignificant change on it (e.g add and remove some fields) so the “update” button would become active – then update it (the point is to just re-save the form)
3. go to “Elementor -> Tools” page -> “General” tab and use “Regenerate files & Data” button
4. then enable back CSS optimization and cache in SG and clear cache fully again.
Let me know if this fixed the issue for you, please.
Kind regards,
Adam
Hi Adam,
Thanks for coming back to me, I did everything above and the form shows in elementor but I can not see it on the staging site – it just shows as a blue line when I preview it. As you can see too?
Is there anything else I can try?
However it is the same whether SGOptimizer is active or not now so that is not the culprit,
Thanks in advance
Hi @casket21
Thanks for response and giving it a go!
Yes, I can see only that “blue line” but I’m still thinking it’s in some way related to some caching. I looked closer into it again and I just noticed that there’s actually… no form there but only the form’s “error message” markup. By “markup” I mean HTML code that should contain error message – but it’s only that HTML code.
This basically means that the form was not rendered and tried to display errors.
Can you edit the form and check if in its Behaviour section it is set to “Load form using Ajax”? If it’s not set like that, try enabling that option. If it’s already set like that, try disabling it instead.
Then clear SG cache again. Can you also confirm, please, if SG Optimizer is the only CSS/JS optimization and caching tool on site or is there any other/additional caching plugin or feature?
Kind regards,
Adam
Hi Adam
Thank you so much – that’s worked! I disabled the load form using Ajax and that seems to have done it. Will it be the same for all new forms?
I can confirm that I only have SG Optimizer as the cache tool.
Now I just need to understand why the labels are centered and not left aligned 😉
Thank you again for your fabulous assistance – second to none!
Kind regards
Lisa
Hello @casket21 !
I trust you’re doing well today!
> Will it be the same for all new forms?
Looks like it 🙂 The reason being, when caching is enabled, it will also cache the form’s code. When using the Load using Ajax option the page will be cached normally, but the form’s code is added by making a background call from JavaScript. This prevents any issues that could occur due to caching.
For left alignment, you can add the following code to the Appearance >> Custom CSS section (on the form’s edit screen):
.forminator-label {
text-align: left;
}
If needed, you can add an !important after the “left” if it still doesn’t work.
You’re welcome! 🙂
Warm regards,
Pawel
Hi @casket21
I hope you are doing well and safe!
We haven’t heard from you in a while, I’ll mark this thread as resolved.
Feel free to let us know if you have any additional questions or problems.
Best Regards
Patrick Freitas