<?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: Adding external javascript to form</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Adding external javascript to form</description>
<language>en</language>
<pubDate>Wed, 03 Jun 2026 17:53:38 +0000</pubDate>

<item>
<title>carrolm on "Adding external javascript to form"</title>
<link>https://www.machform.com/forums/topic/adding-external-javascript-to-form#post-8132</link>
<pubDate>Mon, 07 Dec 2009 05:54:45 +0000</pubDate>
<dc:creator>carrolm</dc:creator>
<guid isPermaLink="false">8132@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi kmac,&#60;/p&#62;
&#60;p&#62;I'm trying to add tab's to a form of mine that has got very long, would it be possible to see the code you added to enable the jquery tabs on your form?&#60;/p&#62;
&#60;p&#62;best regards &#38;#38; thanks for any help given,&#60;/p&#62;
&#60;p&#62;carrolm
&#60;/p&#62;</description>
</item>
<item>
<title>kmac on "Adding external javascript to form"</title>
<link>https://www.machform.com/forums/topic/adding-external-javascript-to-form#post-6458</link>
<pubDate>Thu, 02 Jul 2009 21:14:16 +0000</pubDate>
<dc:creator>kmac</dc:creator>
<guid isPermaLink="false">6458@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi Yuniar,&#60;/p&#62;
&#60;p&#62;Thanks for replying. That worked a treat.&#60;br /&#62;
Now for the script to work correctly, I realized I need to add &#34;onclick=&#34;tally()&#34; to a number of checkbox fields. &#60;/p&#62;
&#60;p&#62;Would I use something like this in view-functions.php:&#60;/p&#62;
&#60;p&#62;$('#element_57_1').click(function(){&#60;br /&#62;
tally()&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;For the tabbed view I was hoping for, I decided to go with the jquery show/hide toggle instead - which works great!
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Adding external javascript to form"</title>
<link>https://www.machform.com/forums/topic/adding-external-javascript-to-form#post-6453</link>
<pubDate>Thu, 02 Jul 2009 16:19:54 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">6453@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;1. You will need to modify &#34;includes/view-functions.php&#34; file. Search around line 1825 and you'll see the form markup. Simply insert your javascript code inside the head tag.&#60;/p&#62;
&#60;p&#62;2. I'm afraid this one won't be quite easy to do. This would require pretty much customization.
&#60;/p&#62;</description>
</item>
<item>
<title>kmac on "Adding external javascript to form"</title>
<link>https://www.machform.com/forums/topic/adding-external-javascript-to-form#post-6447</link>
<pubDate>Thu, 02 Jul 2009 01:13:04 +0000</pubDate>
<dc:creator>kmac</dc:creator>
<guid isPermaLink="false">6447@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Great application, but I'm finding it difficult to add some customizations.&#60;/p&#62;
&#60;p&#62;1. I need to add an external javascript file -&#60;br /&#62;
(e.g. &#38;lt;script type=&#34;text/javascript&#34; src=&#34;js/items.js&#34;&#38;gt;&#38;lt;/script&#38;gt;)&#60;/p&#62;
&#60;p&#62;How would I go about this?&#60;/p&#62;
&#60;p&#62;2. Due to the form having many sections containing optional checkboxes, I was planning on toggling these sections with tabs.&#60;/p&#62;
&#60;p&#62;I noticed you use jquery-tabs.js for the admin area, namely the &#34;Embed Code&#34; area.&#60;br /&#62;
Again, I'm finding it's difficult to implement this in the usual manner.&#60;/p&#62;
&#60;p&#62;Again, is this possible?&#60;/p&#62;
&#60;p&#62;Cheers &#38;#38; thanks in advance for any help with this,&#60;br /&#62;
Kmac
&#60;/p&#62;</description>
</item>

</channel>
</rss>
