<?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: Removal or Hiding of :  State / Province / Region  and  Country</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Removal or Hiding of :  State / Province / Region  and  Country</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:08:36 +0000</pubDate>

<item>
<title>leonnb on "Removal or Hiding of :  State / Province / Region  and  Country"</title>
<link>https://www.machform.com/forums/topic/removal-or-hiding-of-state-province-region-and-country#post-17325</link>
<pubDate>Wed, 20 Feb 2013 05:58:00 +0000</pubDate>
<dc:creator>leonnb</dc:creator>
<guid isPermaLink="false">17325@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Would it be possible to change the adressfield like this:&#60;/p&#62;
&#60;p&#62;- adress and number&#60;br /&#62;
- postal code&#60;br /&#62;
- city&#60;br /&#62;
- country ?&#60;/p&#62;
&#60;p&#62;This is the normal way of filling in forms in the European Union.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Removal or Hiding of :  State / Province / Region  and  Country"</title>
<link>https://www.machform.com/forums/topic/removal-or-hiding-of-state-province-region-and-country#post-15509</link>
<pubDate>Fri, 03 Aug 2012 08:03:59 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">15509@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you for your feedback on this. It is possible to remove the validation to the &#34;State/Province/Region&#34; field when the address field is being set as Required.&#60;/p&#62;
&#60;p&#62;To do this, you can edit your &#34;includes/post-functions.php&#34; file, search around line 858:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($element_info[$element_id][&#38;#39;is_required&#38;#39;]){
	$rules[$element_name][&#38;#39;required&#38;#39;] = true;
	$rules[$element_name_3][&#38;#39;required&#38;#39;] = true;
	$rules[$element_name_4][&#38;#39;required&#38;#39;] = true;
	$rules[$element_name_5][&#38;#39;required&#38;#39;] = true;
	$rules[$element_name_6][&#38;#39;required&#38;#39;] = true;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to become:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if($element_info[$element_id][&#38;#39;is_required&#38;#39;]){
	$rules[$element_name][&#38;#39;required&#38;#39;] = true;
	$rules[$element_name_3][&#38;#39;required&#38;#39;] = true;
	$rules[$element_name_5][&#38;#39;required&#38;#39;] = true;
	$rules[$element_name_6][&#38;#39;required&#38;#39;] = true;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;this way, the user will be able to leave the state field empty.
&#60;/p&#62;</description>
</item>
<item>
<title>Lokidog on "Removal or Hiding of :  State / Province / Region  and  Country"</title>
<link>https://www.machform.com/forums/topic/removal-or-hiding-of-state-province-region-and-country#post-15489</link>
<pubDate>Wed, 01 Aug 2012 18:13:10 +0000</pubDate>
<dc:creator>Lokidog</dc:creator>
<guid isPermaLink="false">15489@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I have seen a few post about this in the forums but none seem to give a clear explanation of how this is possible.&#60;/p&#62;
&#60;p&#62;I Sweden our address's are very short ie:&#60;/p&#62;
&#60;p&#62;Sånga-säbyvägen 35&#60;br /&#62;
Svartsjö&#60;br /&#62;
17996&#60;/p&#62;
&#60;p&#62;When making the address field &#34;Required&#34; it makes the user confused as to what write in the State / Province / Region when it returns &#34;Incomplete&#34;&#60;br /&#62;
For my part it would be great if you could choose what elements (On &#38;#38; Off) appear in the address field for each form as we have international clients as well.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
