<?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: Form Date Field = Publish Date</title>
		<link>https://legacy.forums.gravityhelp.com/topic/form-date-field-publish-date</link>
		<description>Gravity Support Forums Topic: Form Date Field = Publish Date</description>
		<language>en-US</language>
		<pubDate>Fri, 01 May 2026 01:21:06 +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/form-date-field-publish-date" rel="self" type="application/rss+xml" />

		<item>
			<title>pcolip on "Form Date Field = Publish Date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-date-field-publish-date#post-71920</link>
			<pubDate>Tue, 21 Aug 2012 13:43:39 +0000</pubDate>
			<dc:creator>pcolip</dc:creator>
			<guid isPermaLink="false">71920@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for your help, it works wonderfully.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Form Date Field = Publish Date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-date-field-publish-date#post-71666</link>
			<pubDate>Mon, 20 Aug 2012 03:13:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">71666@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sure.  Take a look at this code.  This will be added to your theme's functions.php.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/rAPQzqt0&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/rAPQzqt0&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;On line 5, change the 64 to your form ID (the form which is creating the pending posts.)  On line 19, change the &#34;18&#34; to the field where you are capturing the date input from the user.  You can hover over the form field in the form builder and get the ID.  That's what you need here instead of 18.&#60;/p&#62;
&#60;p&#62;That should set the publish date on the newly created (pending) post to the date that was entered by the visitor.  If you have any questions, please post them here.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pcolip on "Form Date Field = Publish Date"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-date-field-publish-date#post-71477</link>
			<pubDate>Fri, 17 Aug 2012 15:15:46 +0000</pubDate>
			<dc:creator>pcolip</dc:creator>
			<guid isPermaLink="false">71477@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a submission form for an announcement, the user puts all the information in and then selects a date for the announcement to be posted on.  The form auto creates a post in pending review format.  I want the date the user enters to be the date that will show up in the publish date (or schedule date, since it will be in the future.)&#60;/p&#62;
&#60;p&#62;Can someone please explain how to do this?  I have tried this, but I am not completely sure where to put this code and what function to add to it...&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
       add_action(&#38;quot;gform_post_submission&#38;quot;, &#38;quot;post_submission&#38;quot;, 10, 2);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I am new to gravity forms and wordpress.  Please help.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
