<?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: Can this be done?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/can-this-be-done</link>
		<description>Gravity Support Forums Topic: Can this be done?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:25:19 +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/can-this-be-done" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Can this be done?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-this-be-done#post-300115</link>
			<pubDate>Tue, 04 Jun 2013 00:33:32 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">300115@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We don't offer any support in our pre-purchase forum.  If you're a Gravity Forms license holder, please use our regular support forums and post a new topic there.  We'll be happy to help you if we can.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/forum/gravity-forms#postform&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/forum/gravity-forms#postform&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Samantha on "Can this be done?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-this-be-done#post-299370</link>
			<pubDate>Mon, 03 Jun 2013 13:59:33 +0000</pubDate>
			<dc:creator>Samantha</dc:creator>
			<guid isPermaLink="false">299370@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;P.S. I removed the time. It is published to Pending Review. However, the post date is not replace default date. Please advise. Thank you.&#60;/p&#62;
&#60;p&#62;Code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_post_data&#38;quot;, &#38;quot;set_post_date&#38;quot;, 10, 3);
function set_post_date($post_data, $form, $entry){
  //only do this when the form id is 2
  if($form[&#38;quot;id&#38;quot;] != 2)
    return $post_data;

  //set post date to field on form if date provided; get from entry data
  //using a date field in mm/dd/yyyy format and a time field in 24 hour format
  $date_value = $entry[&#38;quot;9&#38;quot;]; //pull the date value from the form data posted, field 9 on my form
  //$time = $entry[&#38;quot;7&#38;quot;]; //pull the time value from the form data posted, field 7 on my form
  //only change post date/time when a date has been chosen
  if (!empty($date_value))
  {
        //convert post date to the appropriate format so it will be inserted into the database
    $post_date = date(&#38;quot;Y-m-d H:i:s&#38;quot;,strtotime($date_value . &#38;quot; &#38;quot; . $time_value));
    $post_data[&#38;quot;post_date&#38;quot;] = $post_date; //set the post_date
  }
  return $post_data; //return the changed data to use when the post is created
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Samantha on "Can this be done?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-this-be-done#post-299367</link>
			<pubDate>Mon, 03 Jun 2013 13:55:41 +0000</pubDate>
			<dc:creator>Samantha</dc:creator>
			<guid isPermaLink="false">299367@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you.&#60;br /&#62;
I would like to format the Date from mm/dd/yyyy to June 3, 2013. How do I change the code from here:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;01	&#38;lt;?php
02	add_filter(&#38;quot;gform_post_data&#38;quot;, &#38;quot;set_post_date&#38;quot;, 10, 3);
03	function set_post_date($post_data, $form, $entry){
04	  //only do this when the form id is 23
05	  if($form[&#38;quot;id&#38;quot;] != 23)
06	    return $post_data;
07
08	  //set post date to field on form if date provided; get from entry data
09	  //using a date field in mm/dd/yyyy format and a time field in 24 hour format
10	  $date_value = $entry[&#38;quot;6&#38;quot;]; //pull the date value from the form data posted, field 6 on my form
11	  $time = $entry[&#38;quot;7&#38;quot;]; //pull the time value from the form data posted, field 7 on my form
12	  //only change post date/time when a date has been chosen
13	  if (!empty($date_value))
14	  {
15	    if (empty($time))
16	    {
17	      //set default time
18	      $time_value = &#38;quot;00:00:00&#38;quot;;
19	    }
20	    else
21	    {
22	      empty($time[0]) ? $time_hours = &#38;quot;00&#38;quot; : $time_hours = $time[0]; //pull hours out of array
23	      empty($time[1]) ? $time_minutes = &#38;quot;00&#38;quot; : $time_minutes = $time[1]; //pull minutes out of array
24	      $time_value = $time_hours . &#38;quot;:&#38;quot; . $time_minutes . &#38;quot;:00&#38;quot;; //add on seconds
25	    }
26	    //convert post date to the appropriate format so it will be inserted into the database
27	    $post_date = date(&#38;quot;Y-m-d H:i:s&#38;quot;,strtotime($date_value . &#38;quot; &#38;quot; . $time_value));
28	    $post_data[&#38;quot;post_date&#38;quot;] = $post_date; //set the post_date
29	  }
30	  return $post_data; //return the changed data to use when the post is created
31	}
32	?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Can this be done?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-this-be-done#post-299139</link>
			<pubDate>Mon, 03 Jun 2013 11:12:09 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">299139@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The content template is not available for the post excerpt.  You would have to create your own excerpt after the form is submitted, then store that custom excerpt using the gform_after_submission hook, or gform_post_data filte.&#60;/p&#62;
&#60;p&#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;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_data&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_data&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Samantha on "Can this be done?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-this-be-done#post-290944</link>
			<pubDate>Thu, 30 May 2013 23:25:26 +0000</pubDate>
			<dc:creator>Samantha</dc:creator>
			<guid isPermaLink="false">290944@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I just discovered this brilliant feature for post body. Is there an easy way to also have a content template for the excerpt as well? Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Can this be done?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-this-be-done#post-250947</link>
			<pubDate>Mon, 13 May 2013 13:42:45 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">250947@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No customization required.  These are features of Gravity Forms.&#60;/p&#62;
&#60;p&#62;To include a custom field in your Page, you will need to use the content template for the post body, or you can modify your Page template to include them there.  &#60;/p&#62;
&#60;p&#62;All you asked about can be accomplish with Gravity Forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bac on "Can this be done?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-this-be-done#post-246713</link>
			<pubDate>Fri, 10 May 2013 17:40:58 +0000</pubDate>
			<dc:creator>bac</dc:creator>
			<guid isPermaLink="false">246713@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need a form that accepts a few input fields and then on submit, injects those field values into an existing WordPress page, including the page title, tag line and any custom fields within the page body. Can this be done without requiring third party custom development?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
