<?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 field for submission only shows date, not time?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/merge-field-for-submission-only-shows-date-not-time</link>
		<description>Gravity Support Forums Topic: merge field for submission only shows date, not time?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:36:41 +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-field-for-submission-only-shows-date-not-time" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "merge field for submission only shows date, not time?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-field-for-submission-only-shows-date-not-time#post-100840</link>
			<pubDate>Mon, 10 Dec 2012 10:43:38 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">100840@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That's a perfect solution, and exactly what I was going to write when I was reading through your problem. Kudos!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>f_devocht on "merge field for submission only shows date, not time?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-field-for-submission-only-shows-date-not-time#post-100561</link>
			<pubDate>Sun, 09 Dec 2012 17:03:19 +0000</pubDate>
			<dc:creator>f_devocht</dc:creator>
			<guid isPermaLink="false">100561@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I looked in the forum for a solution but didn't find one.  Lots of hints though.&#60;br /&#62;
So this is how I solved it.&#60;br /&#62;
I solved it by putting a hidden field on the first form (in my case the field ID = 41 and form ID = 4).&#60;br /&#62;
I then added this code to functions.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_pre_submission_4&#38;quot;, &#38;quot;pre_submission_handler&#38;quot;);   //4 is the ID of my form
function pre_submission_handler($form){
$_POST[&#38;quot;input_41&#38;quot;] = date(&#38;#39;d/m/Y  &#124;  H:i:s&#38;#39;);    // 41 is the ID of my hidden field
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;On form submission, field 41 is filled with the submission date and time.&#60;br /&#62;
A confirmation text message asks the user if he wants to fill it out again, with the url to the 2nd form.&#60;br /&#62;
This url has the merg tag of field 41 in it (amongst others), so it is sumitted to the 2nd form.&#60;/p&#62;
&#60;p&#62;In that 2nd form (a duplicate of the first form with an extra id for the previous submission date), I'm dynamically filling that submission date I had in the 1st form.&#60;/p&#62;
&#60;p&#62;This works great.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>f_devocht on "merge field for submission only shows date, not time?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/merge-field-for-submission-only-shows-date-not-time#post-100534</link>
			<pubDate>Sun, 09 Dec 2012 15:08:53 +0000</pubDate>
			<dc:creator>f_devocht</dc:creator>
			<guid isPermaLink="false">100534@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would like to use a merge field to fill out the submission date of the previous form.&#60;br /&#62;
I can use {date_dmy} for this, but I also need the time.&#60;br /&#62;
How can I fill out the time?  The time is there in the excell export, so surely I must be able to use it as a merg field?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
