<?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: display: none on form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/display-none-on-form</link>
		<description>Gravity Support Forums Topic: display: none on form</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 22:08:03 +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/display-none-on-form" rel="self" type="application/rss+xml" />

		<item>
			<title>tamlyn on "display: none on form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-none-on-form#post-50290</link>
			<pubDate>Thu, 23 Feb 2012 09:05:16 +0000</pubDate>
			<dc:creator>tamlyn</dc:creator>
			<guid isPermaLink="false">50290@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I had this problem too so I wrote a filter. It prepends each form with a bit of HTML and CSS which forces the form and all fields to be displayed if JavaScript is disabled.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_form_tag&#38;#39;, &#38;#39;outlandish_gform_accessibility&#38;#39;);
function outlandish_gform_accessibility($html) {
	$noscript = &#38;#39;&#38;lt;noscript&#38;gt;&#38;lt;style&#38;gt; .gform_wrapper, .gfield { display: block !important; } &#38;lt;/style&#38;gt;&#38;lt;/noscript&#38;gt;&#38;#39;;
	return $noscript . $html;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>lerizzle on "display: none on form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-none-on-form#post-47337</link>
			<pubDate>Wed, 25 Jan 2012 13:51:21 +0000</pubDate>
			<dc:creator>lerizzle</dc:creator>
			<guid isPermaLink="false">47337@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So I have a form In that for I have 1 field that is conditional. I assume because of it my entrie for has display: none on it. So without Javascript the form just doesn't show.&#60;/p&#62;
&#60;p&#62;Is there a way to stop that? If someone has Javascript disabled I'd rather they see the same drop down 3 times then not see anything at all.&#60;/p&#62;
&#60;p&#62;Is there maybe a way to always output a noscript tag before all the forms?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
