Show "loading page" on form submit

I have a form that submits data by API to a non-wix server. And I need a “loading page” message, while submitting in process.
I tried with lightbox, but I can’t close it from the parent page.
I tried an element like “strip” but I can’t change the style to display this element on the full screen. The header and the footer are available to use.
I tried to add some code to the tracking section, but wix does not allow get element if this element wasn’t created in wix editor.
How to do this simple thing by Wix
With angularjs it can be done by uibModal.open(), in pure JS it can be done by document.getElementById(“elementId”).style.display = “block” - to show element with preconfigured “all-screen” styles)

Hey,

You might find this post helpful.

Hope this helps!

Dara | Corvid Team

Thank you, but as I wrote in my question

I tried to add some code to the tracking section, but wix does not allow get element if this element wasn’t created in wix editor.

So, this post can’t help me.