<?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: Field with disabled options</title>
		<link>https://legacy.forums.gravityhelp.com/topic/field-with-disabled-options</link>
		<description>Gravity Support Forums Topic: Field with disabled options</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 10:44:57 +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/field-with-disabled-options" rel="self" type="application/rss+xml" />

		<item>
			<title>niumalta on "Field with disabled options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/field-with-disabled-options#post-35141</link>
			<pubDate>Tue, 13 Sep 2011 04:27:36 +0000</pubDate>
			<dc:creator>niumalta</dc:creator>
			<guid isPermaLink="false">35141@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok, i'll give that a try. &#60;/p&#62;
&#60;p&#62;Removing ajax did the trick, but it would be great if I didn't have to remove it. &#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Field with disabled options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/field-with-disabled-options#post-34935</link>
			<pubDate>Fri, 09 Sep 2011 11:38:04 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">34935@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was discussing this with the team and it came up that you could actually make use of the &#34;gform_pre_render&#34; filter and include your jQuery script there. That filter fires when the form is submitted so it wouldn't be dependent on the parent document to load to apply the script.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Field with disabled options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/field-with-disabled-options#post-34916</link>
			<pubDate>Fri, 09 Sep 2011 08:57:25 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">34916@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm assuming you're using Ajax to submit your form here. I'm sure your script is loaded when the document itself loads and that's when it gets applied to your form markup. When you submit the form via Ajax, the parent page/document itself does NOT get reloaded, so the script doesn't get re-applied.&#60;/p&#62;
&#60;p&#62;You can drop the Ajax submission method and it should work for you then. If you're married to that, I'm not sure if we have a filter that will enable you to re-fire a script on a validation error or not. I do know that we have one to do just that for each page of a multi-page form but not sure about this scenario.&#60;/p&#62;
&#60;p&#62;I've asked one of our programmers to follow up on this to be sure and post back here with his thoughts later.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>niumalta on "Field with disabled options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/field-with-disabled-options#post-34913</link>
			<pubDate>Fri, 09 Sep 2011 08:04:23 +0000</pubDate>
			<dc:creator>niumalta</dc:creator>
			<guid isPermaLink="false">34913@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form(&#60;a href=&#34;http://universityresidence.com/book-now/&#34; rel=&#34;nofollow&#34;&#62; link &#60;/a&#62;)with a multiple choice field, and one of the options need to be disabled but visible. This works fine with a simple jQuery statement&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;quot;#choice_23_0&#38;quot;).attr(&#38;#39;disabled&#38;#39;, true);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;in footer.php, however, if the user submits the form and some fields are not validated, the previously disabled fields become enabled again. How can i prevent this from happening?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
