<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Add "Form Loading" status while iFrame loads</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Add "Form Loading" status while iFrame loads</description>
<language>en</language>
<pubDate>Fri, 22 May 2026 07:55:55 +0000</pubDate>

<item>
<title>erikandre on "Add "Form Loading" status while iFrame loads"</title>
<link>https://www.machform.com/forums/topic/add-form-loading-status-while-iframe-loads#post-2907</link>
<pubDate>Mon, 08 Sep 2008 09:35:49 +0000</pubDate>
<dc:creator>erikandre</dc:creator>
<guid isPermaLink="false">2907@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Brilliant.  That is exactly what I'm talking about.  &#60;/p&#62;
&#60;p&#62;Perhaps you could add that in the next version as a standard feature.. even have an option in the admin panel to display it for embedded code.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Add "Form Loading" status while iFrame loads"</title>
<link>https://www.machform.com/forums/topic/add-form-loading-status-while-iframe-loads#post-2905</link>
<pubDate>Mon, 08 Sep 2008 09:25:12 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">2905@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is it possible for you to use the Advanced Form Code? It loads faster than the iframe.&#60;/p&#62;
&#60;p&#62;However, if you can't use the Advance Form Code, yes it is possible to add some kind of loading text message while the iframe is loading.&#60;/p&#62;
&#60;p&#62;I've put up some simple sample, check it here:&#60;br /&#62;
&#60;a href=&#34;http://www.appnitro.com/demo/sample_preload.html&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/demo/sample_preload.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Check the HTML source of that page to see how I did it.&#60;br /&#62;
Or just see it here:&#60;br /&#62;
&#60;a href=&#34;http://mf.pastebin.com/f3c863aa4&#34; rel=&#34;nofollow&#34;&#62;http://mf.pastebin.com/f3c863aa4&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So all you need to do is to add some element which holds the preload message. In this sample, I added this before the iframe:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;h1 id=&#38;quot;loader&#38;quot; style=&#38;quot;position: absolute;top: 100px&#38;quot;&#38;gt;Form loading. Please wait...&#38;lt;/h1&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then insert this javascript code into your &#38;lt;head&#38;gt;&#38;lt;/head&#38;gt; section:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
function hideProgress(){
        document.getElementById(&#38;#39;loader&#38;#39;).style.display = &#38;#39;none&#38;#39;;
}
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And finally, add an onLoad event to your iframe:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;onload=&#38;quot;hideProgress()&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So what it does, the loading text will be displayed first, then as soon as the iframe finished loading, the onLoad event is executed and  hideProgess() function being called, which would hide the loader text.
&#60;/p&#62;</description>
</item>
<item>
<title>erikandre on "Add "Form Loading" status while iFrame loads"</title>
<link>https://www.machform.com/forums/topic/add-form-loading-status-while-iframe-loads#post-2895</link>
<pubDate>Sun, 07 Sep 2008 03:03:20 +0000</pubDate>
<dc:creator>erikandre</dc:creator>
<guid isPermaLink="false">2895@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is it possible to add some kind of &#34;Please be patient while Form Loads&#34; status while an iFrame is loading on a page.  I've seen some occasions where the form loads very fast with some clients and other occasions where the form takes several seconds to load.  I've had to add a static text to every form that says &#34;Form may take a few seconds to load&#34; just to compensate.  Would really appreciate it if this were possible.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
