<?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: Merge Tag as a default value for Admin Only field?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field</link>
		<description>Gravity Support Forums Topic: Merge Tag as a default value for Admin Only field?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:26:24 +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/merge-tag-as-a-default-value-for-admin-only-field" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-193068</link>
			<pubDate>Mon, 01 Apr 2013 12:51:39 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">193068@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Try changing the dot to an underscore.&#60;br /&#62;
input_1_3 and input_1_6
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sundaramdesign on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-193064</link>
			<pubDate>Mon, 01 Apr 2013 12:49:18 +0000</pubDate>
			<dc:creator>sundaramdesign</dc:creator>
			<guid isPermaLink="false">193064@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It was input_1.3 &#38;amp; input_1.6 so I guess:&#60;/p&#62;
&#60;p&#62;$_POST[&#34;input_1.3&#34;] .&#34; &#34;. $_POST[&#34;input_1.6&#34;]&#60;/p&#62;
&#60;p&#62;should be working. Alas, it is not.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;EDIT:&#60;/strong&#62; Found the solution: I used &#34;input_1_3&#34; instead of input_1.3 and it worked.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Consider this issue solved. Thank you for all your help!&#60;/strong&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-193060</link>
			<pubDate>Mon, 01 Apr 2013 12:42:09 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">193060@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;View source the form HTML and check what designation it is given there, as it might be different from them merge tags.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sundaramdesign on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-193056</link>
			<pubDate>Mon, 01 Apr 2013 12:34:30 +0000</pubDate>
			<dc:creator>sundaramdesign</dc:creator>
			<guid isPermaLink="false">193056@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So close, that got me 50% there! My last hurdle is the name field. I used the advanced field &#34;Name&#34; (format: normal). And I can't get the value to output.  I've tried:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$_POST[&#38;quot;input_1&#38;quot;]&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$_POST[&#38;quot;input_1.1&#38;quot;] .&#38;quot; &#38;quot;. $_POST[&#38;quot;input_1.2&#38;quot;]&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$_POST[&#38;quot;input_1.3&#38;quot;] .&#38;quot; &#38;quot;. $_POST[&#38;quot;input_1.6&#38;quot;]&#60;/code&#62;&#60;br /&#62;
(this is the designation for the first/last name fields in the merge tag from the notification section)&#60;/p&#62;
&#60;p&#62;Is there a different designation for the multi-field advanced fields?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-193017</link>
			<pubDate>Mon, 01 Apr 2013 12:10:57 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">193017@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can't use merge tags in PHP. You'll have to pull field values and then push field values. Have a look at the details here as well to help: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_validation&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So you'll want something like:&#60;br /&#62;
 $_POST[&#34;input_3&#34;] = $_POST[&#34;input_4&#34;] .&#34; &#34;. $_POST[&#34;input_5&#34;] .&#34; - &#34;. $_POST[&#34;input_6&#34;];&#60;br /&#62;
To get your First Name Last Name - Title that you wanted in your original post.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sundaramdesign on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-192998</link>
			<pubDate>Mon, 01 Apr 2013 12:01:04 +0000</pubDate>
			<dc:creator>sundaramdesign</dc:creator>
			<guid isPermaLink="false">192998@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David, I am trying the hooks method and it seems to work, only not with merge tags. I tried generating regular text and that worked, so I tried a custom merge tag from my form, and that only spit back out the merge tag code. So I tried a standard merge tag and that also just generated the code verbatim in my results rather than the value for that field like I want.&#60;/p&#62;
&#60;p&#62;Here is what I am trying:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_pre_submission_2&#38;quot;, &#38;quot;pre_submission_handler&#38;quot;);
function pre_submission_handler($form){
    $_POST[&#38;quot;input_3&#38;quot;] = &#38;quot;{date_mdy}&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And the results are simply the merge tag &#34;{date_mdy}&#34; rather than the value I want to show up (in this case, the date). Is there a filter I need to use to tell the function to recognize those characters as a merge tag instead of plain text?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sundaramdesign on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-192899</link>
			<pubDate>Mon, 01 Apr 2013 11:09:30 +0000</pubDate>
			<dc:creator>sundaramdesign</dc:creator>
			<guid isPermaLink="false">192899@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, Chris &#38;amp; David! This gives me some good options to find the solution I need.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-192845</link>
			<pubDate>Mon, 01 Apr 2013 10:27:39 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">192845@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could then also use one of our pre-submission hooks to copy the values from the other fields on submit, merge them the way you want, and stuff them into another field. gform_pre_submission&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sundaramdesign on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-192837</link>
			<pubDate>Mon, 01 Apr 2013 10:21:19 +0000</pubDate>
			<dc:creator>sundaramdesign</dc:creator>
			<guid isPermaLink="false">192837@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll try the jQuery solution, thank you. I'm not trying to populate the value before the form is submitted however, I just want the merge tag combo to show up in submitted results. (The data should be there for them to display after the submit button is pressed, right?)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Merge Tag as a default value for Admin Only field?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-tag-as-a-default-value-for-admin-only-field#post-191972</link>
			<pubDate>Sun, 31 Mar 2013 19:01:10 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">191972@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The merge tags are parsed when the form is rendered. However, those form values have not yet been entered.  How would that field be populated with a default value for a field which does not yet have any data entered in it?&#60;/p&#62;
&#60;p&#62;If you want to copy data from one field to another after it is entered in your form (from an earlier field in the form to a later field) you can use jQuery, like this: &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/passing-values-on-multipage-form#post-179789&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/passing-values-on-multipage-form#post-179789&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
