<?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: Show and Hide Field</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Show and Hide Field</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 06:31:00 +0000</pubDate>

<item>
<title>redityo on "Show and Hide Field"</title>
<link>https://www.machform.com/forums/topic/show-and-hide-field#post-8966</link>
<pubDate>Fri, 19 Mar 2010 16:55:10 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">8966@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;It seems the problem caused by the CSS code, try to remove &#34;display:none !important&#34; for fields 10,11,12,13. Then update your Code to be like this &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($_GET[&#38;#39;id&#38;#39;] == 3) {
$custom_js =&#38;lt;&#38;lt;&#38;lt;EOT
&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;js/jquery/jquery-core.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;
&#38;lt;script&#38;gt;
$(document).ready(function(){

$(&#38;#39;#li_10&#38;#39;).hide();
$(&#38;#39;#li_11&#38;#39;).hide();
$(&#38;#39;#li_12&#38;#39;).hide();
$(&#38;#39;#li_13&#38;#39;).hide();

$(&#38;#39;#element_4_1&#38;#39;).click(function(){
$(&#38;#39;#li_10&#38;#39;).show();
$(&#38;#39;#li_11&#38;#39;).show();
$(&#38;#39;#li_12&#38;#39;).show();
$(&#38;#39;#li_13&#38;#39;).show();
});
});
&#38;lt;/script&#38;gt;
EOT;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>ryanmc on "Show and Hide Field"</title>
<link>https://www.machform.com/forums/topic/show-and-hide-field#post-8963</link>
<pubDate>Thu, 18 Mar 2010 20:01:29 +0000</pubDate>
<dc:creator>ryanmc</dc:creator>
<guid isPermaLink="false">8963@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Following a post I read with regards to show/hiding fields I need help.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://stro.ma/forms/view.php?id=3&#34; rel=&#34;nofollow&#34;&#62;http://stro.ma/forms/view.php?id=3&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Please can you confirm if you are already certified with Stroma Certification *   Already certifie &#38;lt;-- When this is clicked it should show fields.&#60;/p&#62;
&#60;p&#62;The javascript is showing in the view source, however it isn't working.&#60;/p&#62;
&#60;p&#62;        if ($_GET['id'] == 3) {&#60;br /&#62;
		$custom_js =&#38;lt;&#38;lt;&#38;lt;EOT&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;js/jquery/jquery-core.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script&#38;gt;&#60;br /&#62;
$(document).ready(function(){&#60;br /&#62;
		$('#element_4_1').click(function(){&#60;br /&#62;
			$('#li_10').show();&#60;br /&#62;
			$('#li_11').show();&#60;br /&#62;
			$('#li_12').show();&#60;br /&#62;
			$('#li_13').show();&#60;br /&#62;
		});&#60;br /&#62;
	});&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;br /&#62;
EOT;&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
