<?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 State/Province Error if required</title>
		<link>https://legacy.forums.gravityhelp.com/topic/hide-stateprovince-error-if-required</link>
		<description>Gravity Support Forums Topic: Hide State/Province Error if required</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 22:50:59 +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-stateprovince-error-if-required" rel="self" type="application/rss+xml" />

		<item>
			<title>Einsteinno1 on "Hide State/Province Error if required"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-stateprovince-error-if-required#post-6742</link>
			<pubDate>Sun, 27 Jun 2010 22:48:37 +0000</pubDate>
			<dc:creator>Einsteinno1</dc:creator>
			<guid isPermaLink="false">6742@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;thx anyway, will wait with it until next week. I have to finish this Massage Salon Website until the 15th of July. So still time to fix it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Hide State/Province Error if required"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-stateprovince-error-if-required#post-6733</link>
			<pubDate>Sat, 26 Jun 2010 23:35:33 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">6733@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I believe the ability to hide the State / Province / Region field is being added for the next release scheduled for early next week. There will be a checkbox option under the &#34;hide country&#34; option.  If hidden it won't trigger validation if the field is set as required.&#60;/p&#62;
&#60;p&#62;If it's something you need right away, you can always populate the field with some jQuery on load, and hide it with CSS the way you detailed in your first post. That way there's already a value in the field and the validation won't trigger on it.&#60;/p&#62;
&#60;p&#62;Something like this..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
jQuery.noConflict();
  jQuery(document).ready(function($) {	

   		$(&#38;#39;#input_1_28_4_container input&#38;#39;).attr(&#38;#39;value&#38;#39;,&#38;#39;n/a&#38;#39;);

  });
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Where &#34;#input_1_28_4_container&#34; is the correct ID for your form.&#60;/p&#62;
&#60;p&#62;If you're not in a giant rush, then look for a fix in the release next week.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Einsteinno1 on "Hide State/Province Error if required"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-stateprovince-error-if-required#post-6732</link>
			<pubDate>Sat, 26 Jun 2010 18:53:48 +0000</pubDate>
			<dc:creator>Einsteinno1</dc:creator>
			<guid isPermaLink="false">6732@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I looked already in the common.php and I can see the state field inside. I would be happy if this field would get an standard value of &#34;01&#34; and than I could hide it. But I don't know how to give this field a standard value.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Einsteinno1 on "Hide State/Province Error if required"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-stateprovince-error-if-required#post-6731</link>
			<pubDate>Sat, 26 Jun 2010 18:30:30 +0000</pubDate>
			<dc:creator>Einsteinno1</dc:creator>
			<guid isPermaLink="false">6731@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I wanted to hide the State/Province field because nobody need this field in Germany. I found this code and added it to my css&#60;/p&#62;
&#60;p&#62;span#input_2_11_4_container {display:none} /* hide region from view */&#60;br /&#62;
span#input_2_11.3_container {float:right!important; margin-right:16px!important} /* move city field to right */&#60;/p&#62;
&#60;p&#62;It works smoothly and the field is hidden and city is moved to the right. But the problem is that if somebody wants to fill out the whole form I will get everytime an error because there is a empty field which is required in the ADDRESS field. It is normal because the State field is hidden, but if the whole address field is set to required he wants this field to be filt out.&#60;/p&#62;
&#60;p&#62;Any idea to solve this problem?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
