<?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: Javascript code version error - not related to 4.5?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Javascript code version error - not related to 4.5?</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 21:01:36 +0000</pubDate>

<item>
<title>yuniar on "Javascript code version error - not related to 4.5?"</title>
<link>https://www.machform.com/forums/topic/javascript-code-version-error-not-related-to-45#post-23793</link>
<pubDate>Sat, 08 Aug 2015 05:52:37 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">23793@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thanks folks, apparently this is 4.5 issue. The old javascript code doesn't seems to be loading correctly after the upgrade.&#60;br /&#62;
We've just released 4.5.1 on member area to fix this.&#60;/p&#62;
&#60;p&#62;Please download the file again and replace your &#34;machform/js/machform_loader.js&#34; file with the new file.&#60;br /&#62;
Only that file need to be updated.&#60;/p&#62;
&#60;p&#62;Sorry for the trouble!
&#60;/p&#62;</description>
</item>
<item>
<title>DanG on "Javascript code version error - not related to 4.5?"</title>
<link>https://www.machform.com/forums/topic/javascript-code-version-error-not-related-to-45#post-23792</link>
<pubDate>Sat, 08 Aug 2015 02:52:48 +0000</pubDate>
<dc:creator>DanG</dc:creator>
<guid isPermaLink="false">23792@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I have the same problem and I have a lot of forms.
&#60;/p&#62;</description>
</item>
<item>
<title>jblackburn on "Javascript code version error - not related to 4.5?"</title>
<link>https://www.machform.com/forums/topic/javascript-code-version-error-not-related-to-45#post-23787</link>
<pubDate>Fri, 07 Aug 2015 06:16:09 +0000</pubDate>
<dc:creator>jblackburn</dc:creator>
<guid isPermaLink="false">23787@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I upgraded yesterday to 4.5, all appeared to go well and then went to spot check some of my forms. The first ones I checked were not working properly - 404 error, not found.  I found that it was the forms where I had used the Javascript code (as opposed to iFrame or PHP code for example. &#60;/p&#62;
&#60;p&#62;This is what the original code looked like on the pages that were no longer working properly:&#60;/p&#62;
&#60;p&#62;&#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
var __machform_url = 'http://domainname.com/machform/embed.php?id=12345';&#60;br /&#62;
var __machform_height = 1027;&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;mf_placeholder&#34;&#38;gt;&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;http://domainname.com/machform/js/jquery.min.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;http://domainname.com/machform/js/jquery.ba-postmessage.min.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;http://domainname.com/machform/js/machform_loader.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;p&#62;Looking at the 'new' JavaScript code that is now generated, it looks like this:&#60;/p&#62;
&#60;p&#62;&#38;lt;div id=&#34;mf_placeholder&#34;&#60;br /&#62;
     data-formurl=&#34;http://www.domainname.com/machform/embed.php?id=12345&#34;&#60;br /&#62;
     data-formheight=&#34;1027&#34;&#60;br /&#62;
     data-paddingbottom=&#34;10&#34;&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;http://www.domainname.com/machform/js/jquery.min.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;http://www.domainname.com/machform/js/jquery.ba-postmessage.min.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;http://www.domainname.com/machform/js/machform_loader.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;p&#62;Once I replaced the 'old' code with the 'new' code, the forms loaded again OK.&#60;/p&#62;
&#60;p&#62;Not sure if this is a 4.5 issue, or if it happened a while back and I just didn't notice.&#60;/p&#62;
&#60;p&#62;In any case, if you have used the JavaScript code in the past, it might be worth looking at the pages where you've implemented this in the past to make sure they are loading properly.&#60;/p&#62;
&#60;p&#62;Jim
&#60;/p&#62;</description>
</item>

</channel>
</rss>
