<?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: how to populate a hidden field with een other field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field</link>
		<description>Gravity Support Forums Topic: how to populate a hidden field with een other field</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:24:27 +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/how-to-populate-a-hidden-field-with-een-other-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-203603</link>
			<pubDate>Wed, 10 Apr 2013 05:50:57 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">203603@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you have an issue with the datepicker script not working, please post a URL to your site so we can take a look for JavaScript errors.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jsncafe on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-199713</link>
			<pubDate>Sun, 07 Apr 2013 05:07:25 +0000</pubDate>
			<dc:creator>jsncafe</dc:creator>
			<guid isPermaLink="false">199713@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I'm working on this and it works when my custom field is set to Date and the Date Input Type set to &#34;Date Picker&#34;. But, when I try the Date Field option it no longer works.&#60;br /&#62;
Here is the code I used:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
add_filter(&#38;quot;gform_pre_submission_1&#38;quot;, &#38;quot;populate_date&#38;quot;);
function populate_date($form){
		$_POST[&#38;#39;input_11&#38;#39;] = $_POST[&#38;#39;input_12&#38;#39;];
		}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Date Picker just makes one input field, but Date Field nests 3 inputs like 12_1, 12_2, 12_3&#60;/p&#62;
&#60;p&#62;Is there away to just make it say '$_POST['input_11'] = $_POST['input_12_1', 'input_12_2', 'input_12_3'];' ?&#60;br /&#62;
I would like to use the Date Picker in the first place, but there seems to be a javascript conflict on my site that breaks the pop-out calander :/ So, I've been trying to get the Date Field to work for a while with no luck.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>moltogelato on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-169951</link>
			<pubDate>Wed, 13 Mar 2013 11:47:23 +0000</pubDate>
			<dc:creator>moltogelato</dc:creator>
			<guid isPermaLink="false">169951@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks! I'm new to html so I'll play around with it and see if I can get it to work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-169710</link>
			<pubDate>Wed, 13 Mar 2013 07:34:45 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">169710@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sounds like you want to copy the data entered in some fields (billing city and billing state) to two other fields (studio city and studio state.)  You can use jQuery to accomplish this.  It's not a feature of Gravity Forms.  Here is one explanation of how to do it: &#60;a href=&#34;http://stackoverflow.com/q/10884730&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/q/10884730&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>moltogelato on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-166843</link>
			<pubDate>Sun, 10 Mar 2013 15:53:28 +0000</pubDate>
			<dc:creator>moltogelato</dc:creator>
			<guid isPermaLink="false">166843@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://suzukiwashington.org/membership/&#34; rel=&#34;nofollow&#34;&#62;http://suzukiwashington.org/membership/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I would like the Billing City and State fields to dynamically populate the Studio City and State fields. I don't know what to enter into the Parameter Name to accomplish this.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Matthew
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-83275</link>
			<pubDate>Wed, 24 Oct 2012 10:39:30 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">83275@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If these are individual posts in a loop or archive page, you can add a single line text field (make it admin only if you want) and include this merge tag as the default value:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;{embed_post:post_title}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That will give you the title of the post where the form is embedded.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lwrkrol on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-82059</link>
			<pubDate>Thu, 18 Oct 2012 13:25:29 +0000</pubDate>
			<dc:creator>lwrkrol</dc:creator>
			<guid isPermaLink="false">82059@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok, is it possible to get information from info on the post I am displaying the form on?&#60;/p&#62;
&#60;p&#62;I am displaying different posts in one screen and there is an e-mail field (form) below every post. A user can enter his e-mail address and then receives a link with for the specific post.&#60;/p&#62;
&#60;p&#62;To build the URL I need to get the post title for the selected post.&#60;/p&#62;
&#60;p&#62;Hope this makes sense
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-81987</link>
			<pubDate>Thu, 18 Oct 2012 07:45:47 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81987@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Other fields are sometimes more complex.  You can try this simple example and see if it works, but if not, you would need to take a look at the $_POST and see what parameters are there to know the exact format of the field you want to read.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lwrkrol on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-81976</link>
			<pubDate>Thu, 18 Oct 2012 06:41:47 +0000</pubDate>
			<dc:creator>lwrkrol</dc:creator>
			<guid isPermaLink="false">81976@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I used the first one, works great. So everytime I want to store an input field in a hidden field I can use this code ? What should I use for other fields like dropdown fields etc, is there some kind of reference ?&#60;/p&#62;
&#60;p&#62;Thanks for your fast help
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "how to populate a hidden field with een other field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-populate-a-hidden-field-with-een-other-field#post-81974</link>
			<pubDate>Thu, 18 Oct 2012 06:30:16 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81974@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Try this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
$_POST[&#38;#39;input_14&#38;#39;] = rgpost(&#38;#39;input_1&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That will take the value from input_1 and store it in your hidden field input_14.  rgpost is a little safer than using $_POST directly when reading the value.  It would work the same in most cases to just do this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[php]
$_POST[&#38;#39;input_14&#38;#39;] = $_POST[&#38;#39;input_1&#38;#39;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;(Note the change from parentheses to brackets.)&#60;/p&#62;
&#60;p&#62;If this does not work, please post a link to your form so we can take a look.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
