<?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: Prepopulate city field</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Prepopulate city field</description>
<language>en</language>
<pubDate>Mon, 11 May 2026 17:52:52 +0000</pubDate>

<item>
<title>yuniar on "Prepopulate city field"</title>
<link>https://www.machform.com/forums/topic/prepopulate-city-field#post-11425</link>
<pubDate>Tue, 15 Feb 2011 17:58:57 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">11425@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Can you let us know the URL to your form please?&#60;br /&#62;
You can send it via email if you don't want to post it here.&#60;/p&#62;
&#60;p&#62;Please send to: customer.service [at] appnitro.com
&#60;/p&#62;</description>
</item>
<item>
<title>cheryledwards on "Prepopulate city field"</title>
<link>https://www.machform.com/forums/topic/prepopulate-city-field#post-11420</link>
<pubDate>Tue, 15 Feb 2011 04:38:02 +0000</pubDate>
<dc:creator>cheryledwards</dc:creator>
<guid isPermaLink="false">11420@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;My form is looking good, but it would look even better if I could get the city, province and postal code on one line (there should be enough room to fit them in).&#60;/p&#62;
&#60;p&#62;How do I do this please?  The code is:&#60;/p&#62;
&#60;p&#62;		' &#38;lt;div id=&#34;li_14_div_3&#34; class=&#34;left&#34;&#38;gt;&#60;br /&#62;
			&#38;lt;input id=&#34;element_14_3&#34; name=&#34;element_14_3&#34; class=&#34;element text medium&#34; value=&#34;Toronto&#34; type=&#34;text&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;label for=&#34;element_14_3&#34;&#38;gt;City&#38;lt;/label&#38;gt;&#60;br /&#62;
		&#38;lt;/div&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;div id=&#34;li_14_div_4&#34; class=&#34;right&#34;&#38;gt;&#60;br /&#62;
			&#38;lt;input id=&#34;element_14_4&#34; name=&#34;element_14_4&#34; class=&#34;element text medium&#34;  value=&#34;ON&#34; type=&#34;text&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;label for=&#34;element_14_4&#34;&#38;gt;Province&#38;lt;/label&#38;gt;&#60;br /&#62;
		&#38;lt;/div&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;div id=&#34;li_14_div_5&#34; class=&#34;left&#34;&#38;gt;&#60;br /&#62;
			&#38;lt;input id=&#34;element_14_5&#34; name=&#34;element_14_5&#34; class=&#34;element text medium&#34; maxlength=&#34;15&#34; value=&#34;&#34; type=&#34;text&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;label for=&#34;element_14_5&#34;&#38;gt;Postal code&#38;lt;/label&#38;gt;'
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Prepopulate city field"</title>
<link>https://www.machform.com/forums/topic/prepopulate-city-field#post-11405</link>
<pubDate>Sat, 12 Feb 2011 10:07:19 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">11405@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can edit &#34;includes/view-functions.php&#34; file and go to tound line 1358 for this code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;global $lang;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then simply add these code bellow that line &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (empty($element-&#38;gt;populated_value[&#38;#39;element_&#38;#39;.$element-&#38;gt;id.&#38;#39;_3&#38;#39;][&#38;#39;default_value&#38;#39;])) {
	$element-&#38;gt;populated_value[&#38;#39;element_&#38;#39;.$element-&#38;gt;id.&#38;#39;_3&#38;#39;][&#38;#39;default_value&#38;#39;] = &#38;quot;my city&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you can change &#34;my city&#34; text with your default city name.
&#60;/p&#62;</description>
</item>
<item>
<title>cheryledwards on "Prepopulate city field"</title>
<link>https://www.machform.com/forums/topic/prepopulate-city-field#post-11404</link>
<pubDate>Sat, 12 Feb 2011 05:27:52 +0000</pubDate>
<dc:creator>cheryledwards</dc:creator>
<guid isPermaLink="false">11404@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I am using the &#34;Address&#34; field label and because almost all responses will come from our city I would like to prepopulate the city field with our city name, but still have the person able to change the city name if they need to.&#60;/p&#62;
&#60;p&#62;I've looked at loads of posts on the forum but cannot find how to do this.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
