<?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: Custom Merge Tag: Date as yymmdd</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-merge-tag-date-as-yymmdd</link>
		<description>Gravity Support Forums Topic: Custom Merge Tag: Date as yymmdd</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:05:58 +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/custom-merge-tag-date-as-yymmdd" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Custom Merge Tag: Date as yymmdd"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-merge-tag-date-as-yymmdd#post-156185</link>
			<pubDate>Wed, 27 Feb 2013 17:24:20 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">156185@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>scottidesign on "Custom Merge Tag: Date as yymmdd"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-merge-tag-date-as-yymmdd#post-155280</link>
			<pubDate>Tue, 26 Feb 2013 17:42:55 +0000</pubDate>
			<dc:creator>scottidesign</dc:creator>
			<guid isPermaLink="false">155280@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_pre_submission_7&#38;quot;, &#38;quot;pre_submission_handler&#38;quot;);
function pre_submission_handler($form){
	$date1 = $_POST[&#38;quot;input_3&#38;quot;];
	$date1 = str_replace(&#38;#39;/&#38;#39;, &#38;#39;-&#38;#39;, $date1);
	$date1 = date(&#38;quot;Ymd&#38;quot;, strtotime($date1));
	$date2 = $_POST[&#38;quot;input_5&#38;quot;];
	$date2 = date(&#38;quot;Ymd&#38;quot;, strtotime($date2));
	$_POST[&#38;quot;input_3&#38;quot;] = $date1;
	$_POST[&#38;quot;input_5&#38;quot;] = $date2;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Got it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>scottidesign on "Custom Merge Tag: Date as yymmdd"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-merge-tag-date-as-yymmdd#post-154707</link>
			<pubDate>Tue, 26 Feb 2013 02:16:37 +0000</pubDate>
			<dc:creator>scottidesign</dc:creator>
			<guid isPermaLink="false">154707@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm using Gravity Forms on a form to capture a hidden date field (current date). Inside the default value I would like to put a merge tag. I want the output to be yymmdd. &#60;/p&#62;
&#60;p&#62;This is because it's getting passed to a custom post type's, custom field. I used Advanced Custom Fields for this.&#60;/p&#62;
&#60;p&#62;The default save format of ACF is yymmdd, and I would like to keep it in the database that way as well.&#60;/p&#62;
&#60;p&#62;Sorry I'm a bit of a novice. I know this can be accomplished relatively easily, probably a hook or something right?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Custom Merge Tag: Date as yymmdd"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-merge-tag-date-as-yymmdd#post-154605</link>
			<pubDate>Tue, 26 Feb 2013 00:08:27 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">154605@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How are you capturing your data, and how would you use this merge tag?&#60;/p&#62;
&#60;p&#62;There is a gform_merge_tag_filter which may help, but right now I'm not sure what you need to do to know if this is going to work for you or not.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_merge_tag_filter&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_merge_tag_filter&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>scottidesign on "Custom Merge Tag: Date as yymmdd"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-merge-tag-date-as-yymmdd#post-154466</link>
			<pubDate>Mon, 25 Feb 2013 20:28:12 +0000</pubDate>
			<dc:creator>scottidesign</dc:creator>
			<guid isPermaLink="false">154466@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Any suggestions on how to build a custom merge tag for this?&#60;/p&#62;
&#60;p&#62;&#34;yymmdd&#34; is the most versatile save format.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
