<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Hide the SUBMIT button conditionally - Revisited</title>
		<link>https://legacy.forums.gravityhelp.com/topic/hide-the-submit-button-conditionally-revisited</link>
		<description>Gravity Support Forums Topic: Hide the SUBMIT button conditionally - Revisited</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 20:12:46 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/hide-the-submit-button-conditionally-revisited" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Hide the SUBMIT button conditionally - Revisited"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-the-submit-button-conditionally-revisited#post-13992</link>
			<pubDate>Tue, 07 Dec 2010 11:22:18 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">13992@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The conditional logic requires you to have a select (drop down) field, checkbox or radio (multiple choice) field in your form for it to hinge on. If you don't have any of those type fields, the option would be grayed out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sahdow on "Hide the SUBMIT button conditionally - Revisited"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-the-submit-button-conditionally-revisited#post-13989</link>
			<pubDate>Tue, 07 Dec 2010 10:01:02 +0000</pubDate>
			<dc:creator>sahdow</dc:creator>
			<guid isPermaLink="false">13989@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;O.k. Got it. Weird though yesterday when I posted this, the option was grayed out, which is why I tried to use the above option. Perhaps another part of the form needed to be completed first. I created the fields before anything else.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Hide the SUBMIT button conditionally - Revisited"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-the-submit-button-conditionally-revisited#post-13962</link>
			<pubDate>Mon, 06 Dec 2010 19:41:24 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">13962@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Conditional logic was functionality for the submit button was built into the plugin in version 1.3.1 - you shouldn't need to implement this script now. This was a workaround before that functionality was introduced into the core.&#60;/p&#62;
&#60;p&#62;You'll find the conditional logic options for the button along with the normal button settings in the advanced tab of the main form settings panel.&#60;/p&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://grab.by/7LfY&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/7LfY&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Hide the SUBMIT button conditionally - Revisited"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-the-submit-button-conditionally-revisited#post-13957</link>
			<pubDate>Mon, 06 Dec 2010 17:39:51 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">13957@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Sahdow, which file did you place your javascript code into? Is this code on the live site you provided?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sahdow on "Hide the SUBMIT button conditionally - Revisited"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-the-submit-button-conditionally-revisited#post-13952</link>
			<pubDate>Mon, 06 Dec 2010 16:57:28 +0000</pubDate>
			<dc:creator>sahdow</dc:creator>
			<guid isPermaLink="false">13952@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I found this closed thread and was able to get the submit button hidden, unfortunately I'm stuck at trying to figure out how to get it back when the item is selected. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forum.gravityhelp.com/topic/hide-the-submit-button-conditionally&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/hide-the-submit-button-conditionally&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'd like to know what I need to do to correct this and for future reference, if my sample code is correct (based on craiger's) where I find the input id to return the submit button (I've replaced the input id with question marks - where I think he element I'm missing is). I also tried using Kevin's sample and it had the same problem.&#60;/p&#62;
&#60;p&#62;Below is the code I'm using - the URL of the form is located:&#60;br /&#62;
&#60;a href=&#34;http://www.saeler.com/contact-us&#34; rel=&#34;nofollow&#34;&#62;http://www.saeler.com/contact-us&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I disabled the script, until I can resolve the issue&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;

jQuery(document).ready(function(){
       jQuery(&#38;quot;#input_2_8&#38;quot;).click(function(){ToggleButton();});
       ToggleButton();
});

jQuery(document).ready(function(){
       jQuery(&#38;quot;#input_2_29&#38;quot;).click(function(){ToggleButton();});
       ToggleButton();
});

function ToggleButton(){
       var display = &#38;quot;block&#38;quot;;
       if(jQuery(&#38;quot;#input_2_8&#38;quot;).val() == &#38;quot;Select One...&#38;quot;)
               display = &#38;quot;none&#38;quot;;
       else if(jQuery(&#38;quot;#input_2_8&#38;quot;).val() == &#38;quot;Maintenance / Support Request&#38;quot;)
               display = &#38;quot;none&#38;quot;;
       else if(jQuery(&#38;quot;#input_2_8&#38;quot;).val() == &#38;quot;General Questions / Comments&#38;quot;)
               display = &#38;quot;none&#38;quot;;
       else if(jQuery(&#38;quot;#input_2_8&#38;quot;).val() == &#38;quot;Advertising / Joint Venture Offer&#38;quot;)
               display = &#38;quot;none&#38;quot;;

       jQuery(&#38;quot;.button&#38;quot;).css(&#38;quot;display&#38;quot;, display);
}

&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
