<?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: GF did not pass the value to the date field formatted custom fields.</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields</link>
		<description>Gravity Support Forums Topic: GF did not pass the value to the date field formatted custom fields.</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 22:48:25 +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/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-123975</link>
			<pubDate>Thu, 17 Jan 2013 00:48:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">123975@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I took a look at your form.  When I submit the form, the date is stored just as you have configured it in the form builder: MM/DD/YYYY.  It is stored in the Gravity Forms wp_rg_lead_detail table that way and in the wp_postmeta table that way.  It is displayed in the entry in that format.  I don't think there is anything in Gravity Forms or WordPress changing the date format, although in your installation, with the WPCF plugin, the date is clearly stored in a different format.&#60;/p&#62;
&#60;p&#62;In this screenshot of yours &#60;a href=&#34;http://screencast.com/t/Fd0T9PYS1r&#34; rel=&#34;nofollow&#34;&#62;http://screencast.com/t/Fd0T9PYS1r&#60;/a&#62; (this is the wp_postmeta table record) you can see that it is a Unix timestamp being stored.  The 1356998400 which is stored there is Tue, 01 Jan 2013 00:00:00 GMT.  Can you compare that to the date which was stored in the corresponding Gravity Form entry?&#60;/p&#62;
&#60;p&#62;It's possible that your WPCF plugin or something else is modifying that datestamp before storing it.  Can you find out from that plugin developer if that is the case?  If not, it could be another plugin on your site, but it would have to be something that gets in between Gravity Forms capturing the data and writing that wp_postmeta.&#60;/p&#62;
&#60;p&#62;Please let us know what you find out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>enclave on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-123111</link>
			<pubDate>Wed, 16 Jan 2013 02:19:04 +0000</pubDate>
			<dc:creator>enclave</dc:creator>
			<guid isPermaLink="false">123111@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;I have sent an email to you with the title: &#34;Date format UNIX GF + CPT&#34; &#60;/p&#62;
&#60;p&#62;I hope that helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-122589</link>
			<pubDate>Tue, 15 Jan 2013 13:05:41 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">122589@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just did some tests with this, and the date is stored as MM/DD/YYYY when I fill in a date field, when I pre-fill a field with the {date_mdy} merge tag, or when I use the {date_mdy} merge tag to populate a custom field.  I was hoping to see what you see so I could help you convert the date, but I am not experiencing the conversion to unix timestamp as you are.&#60;/p&#62;
&#60;p&#62;Can you export your form as XML and email it to me at &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62; please?  I will install it as is and see if the date is stored in a different format when using your form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>enclave on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-122193</link>
			<pubDate>Tue, 15 Jan 2013 02:52:26 +0000</pubDate>
			<dc:creator>enclave</dc:creator>
			<guid isPermaLink="false">122193@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sure. Thank you. &#60;/p&#62;
&#60;p&#62;Keep me posted.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-122078</link>
			<pubDate>Tue, 15 Jan 2013 00:26:32 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">122078@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I will take a look at this for you in about 12 hours.  Thanks for your patience.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>enclave on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-122063</link>
			<pubDate>Tue, 15 Jan 2013 00:20:59 +0000</pubDate>
			<dc:creator>enclave</dc:creator>
			<guid isPermaLink="false">122063@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;Thank you for helping me out with this one. As much as I want to do this myself, I'm not sure how to approach the gform_pre_submission_filter and gform_after_submission.&#60;/p&#62;
&#60;p&#62;Do I just put the action and filter lines on functions.php?&#60;br /&#62;
add_filter(&#34;gform_pre_submission_filter&#34;, &#34;pre_submission_filter&#34;);&#60;br /&#62;
add_action(&#34;gform_after_submission&#34;, &#34;after_submission&#34;, 10, 2);&#60;/p&#62;
&#60;p&#62;And this would make it work? I think I'm wrong because it didn't specify to change the UNIX date format to MM/DD/YY or even better if we can have it set as what the default date format set in General Settings (WP Dashboard)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-122006</link>
			<pubDate>Mon, 14 Jan 2013 23:40:10 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">122006@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, you can see that the two posts, 1701 and 1717, have the date stored in a different format than the WPCF plugin is looking for.  You're going to need to convert that before it's stored in the custom field, or update that existing meta value.  There are a couple ways to do it.  You can use the gform_pre_submission_filter to read the date that was submitted in your form, then convert that to the format WPCF needs, and store that in a hidden field.  Then, using gform_after_submission, you can update the custom field which was just created with this new value.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Or, you can possibly convert that date format using a filter in WPCF, but I am not familiar enough with that plugin to know what hooks are available.&#60;/p&#62;
&#60;p&#62;You could also set up a MySQL trigger to update the value, but that would be my last choice. &#60;/p&#62;
&#60;p&#62;The issue though is the date is formatted as a unix timestamp when it's stored by Gravity Forms, and the WPCF plugin needs to see it as MM/DD/YYYY
&#60;/p&#62;</description>
		</item>
		<item>
			<title>enclave on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-121930</link>
			<pubDate>Mon, 14 Jan 2013 21:56:15 +0000</pubDate>
			<dc:creator>enclave</dc:creator>
			<guid isPermaLink="false">121930@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;Thank you for your prompt assistance and note of the Jing :) I'm glad that it helped the troubleshooting process.&#60;/p&#62;
&#60;p&#62;List of post ID involved (the others): 1701, 1717&#60;br /&#62;
Metakey: wpcf-etimeline-start-date&#60;/p&#62;
&#60;p&#62;I'm not very technical when dealing with database, but I manage to pull this from the phpMySQL for the site. I notice it is showing a weird number.&#60;br /&#62;
Screenshot 1 (DB Search Result):  &#60;a href=&#34;http://screencast.com/t/d34ZktvDH2vP&#34; rel=&#34;nofollow&#34;&#62;http://screencast.com/t/d34ZktvDH2vP&#60;/a&#62;&#60;br /&#62;
Screenshot 2 (Row edit): &#60;a href=&#34;http://screencast.com/t/Fd0T9PYS1r&#34; rel=&#34;nofollow&#34;&#62;http://screencast.com/t/Fd0T9PYS1r&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;SQL file download link: &#60;a href=&#34;http://eziclick.in/fddwpmetasql&#34; rel=&#34;nofollow&#34;&#62;http://eziclick.in/fddwpmetasql&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-121845</link>
			<pubDate>Mon, 14 Jan 2013 19:35:14 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">121845@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Very good troubleshooting video: thank you.&#60;/p&#62;
&#60;p&#62;I would take a look at the value of the date stored in the entry, in the database.  What format is that in?&#60;/p&#62;
&#60;p&#62;Also, you did not show the meta key name and meta key value in the wp_postmeta table.  Can you show that as well?  I suspect the date is being stored in one format in the post, but the WPCF meta field needs it in another format.  Using the merge tag as you have in the form, with the default value, is fine, and shows that it's working, but I would be curious to see how the data is stored in the entry, and how the data is stored in the meta field, and to be certain the custom field name is exactly identical.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>enclave on "GF did not pass the value to the date field formatted custom fields."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-did-not-pass-the-value-to-the-date-field-formatted-custom-fields#post-121141</link>
			<pubDate>Sun, 13 Jan 2013 22:32:11 +0000</pubDate>
			<dc:creator>enclave</dc:creator>
			<guid isPermaLink="false">121141@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I realized that my support ticket isn't submitted. So, I re-posted this.&#60;/p&#62;
&#60;p&#62;We're using Gravity Forms to create a post and we integrated this with the GF + Custom Post Type plugin. Basically, the problem we are having is that the value input by the user is not passed to the custom fields correctly. We have tried to output in a different field and it displayed correctly, just the Date field as in the screencast - &#60;a href=&#34;http://screencast.com/t/voBmetVbm&#34; rel=&#34;nofollow&#34;&#62;http://screencast.com/t/voBmetVbm&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;We know that it's a third party addon, however, we have contact the developer directly and he mentioned that the problem isn't because by his plugin and suggest us to contact you.&#60;/p&#62;
&#60;p&#62;Reason being is that it is related to the custom fields which is already available by Gravity Forms.&#60;/p&#62;
&#60;p&#62;Before that, we have contact the developer on the forum and recorded a screencast (above):&#60;br /&#62;
&#60;a href=&#34;http://wordpress.org/support/topic/date-format-value-did-not-passed-to-the-custom-field-created?replies=1&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/topic/date-format-value-did-not-passed-to-the-custom-field-created?replies=1&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
