<?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 field did not save after execution of gform_pre_submission action</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-field-did-not-save-after-execution-of-gform_pre_submission-action</link>
		<description>Gravity Support Forums Topic: Custom field did not save after execution of gform_pre_submission action</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 10:48:54 +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-field-did-not-save-after-execution-of-gform_pre_submission-action" rel="self" type="application/rss+xml" />

		<item>
			<title>brubrant2 on "Custom field did not save after execution of gform_pre_submission action"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-did-not-save-after-execution-of-gform_pre_submission-action#post-168084</link>
			<pubDate>Mon, 11 Mar 2013 17:32:03 +0000</pubDate>
			<dc:creator>brubrant2</dc:creator>
			<guid isPermaLink="false">168084@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Got it! Thanks a lot for your support David. Regards.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Custom field did not save after execution of gform_pre_submission action"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-did-not-save-after-execution-of-gform_pre_submission-action#post-168021</link>
			<pubDate>Mon, 11 Mar 2013 15:49:06 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">168021@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can't change how the data is stored in that field. You'll have to store it in another field. I recommend just a hidden input field. Then it won't try to stop you from making the changes you want to the data and saving it to the database. Our date fields are locked in terms of how the data is stored.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brubrant2 on "Custom field did not save after execution of gform_pre_submission action"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-did-not-save-after-execution-of-gform_pre_submission-action#post-167999</link>
			<pubDate>Mon, 11 Mar 2013 15:06:49 +0000</pubDate>
			<dc:creator>brubrant2</dc:creator>
			<guid isPermaLink="false">167999@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;1) Yes, correctly. Field properties: &#60;a href=&#34;http://pastie.org/6451207&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6451207&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2) Yes. If I do not call my function in hook gform_pre_submission then the custom field is updated with the value of the date field correctly. As I need change the format of date I executed my function la_convert_field_date, but after that the custom field isn't updated anymore.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/6451516&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6451516&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;3) No. I stored in the same variable $ _POST['input_3'] : &#60;a href=&#34;http://pastie.org/6451625&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6451625&#60;/a&#62;.&#60;br /&#62;
Isn't this variable $ _POST['input_3'] that will be stored in date field ([id] =&#38;gt; 3)?&#60;/p&#62;
&#60;p&#62;4) In &#34;YYYY-MM-DD HH:MM:SS&#34; format.&#60;/p&#62;
&#60;p&#62;Thanks David.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Custom field did not save after execution of gform_pre_submission action"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-did-not-save-after-execution-of-gform_pre_submission-action#post-167804</link>
			<pubDate>Mon, 11 Mar 2013 12:09:08 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">167804@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you help me understand better please.&#60;/p&#62;
&#60;p&#62;1.) You have a date field in your form and it is collecting the date correctly?&#60;br /&#62;
2.) You want to take that date and put it in a custom field?&#60;br /&#62;
3.) Did you create another field to put the date/time into after you've converted it the way you want?&#60;br /&#62;
4.) Can you lay out how you want the date to look in the custom field?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brubrant2 on "Custom field did not save after execution of gform_pre_submission action"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-did-not-save-after-execution-of-gform_pre_submission-action#post-167794</link>
			<pubDate>Mon, 11 Mar 2013 11:58:24 +0000</pubDate>
			<dc:creator>brubrant2</dc:creator>
			<guid isPermaLink="false">167794@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello all! I just found this topic related to my issue but did not help me much &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/date-field-to-custom-post-date-field-problem-from-date-to-unix&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/date-field-to-custom-post-date-field-problem-from-date-to-unix&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I've a form configured to create a new custom post type object &#60;code&#62;[saveAsCPT] =&#38;gt; desafio&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;In this form I've a date field &#60;code&#62;[type] =&#38;gt; post_custom_field&#60;/code&#62; to save a &#60;code&#62;[postCustomFieldName] =&#38;gt; data_limite&#60;/code&#62; &#60;a href=&#34;http://pastie.org/6451207&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6451207&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I hooked a function in &#60;code&#62;gform_pre_submission_6&#60;/code&#62; action &#60;a href=&#34;http://pastie.org/6451516&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6451516&#60;/a&#62; to convert field date to format that I need &#60;a href=&#34;http://pastie.org/6451625&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6451625&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But when submitted the form, the custom field &#60;code&#62;data_limite&#60;/code&#62; is not created to the new post.&#60;/p&#62;
&#60;p&#62;When the function &#60;code&#62;la_convert_field_date&#60;/code&#62; isn't executed in &#60;code&#62;gform_pre_submission_6&#60;/code&#62; hook then the custom field is saved.&#60;/p&#62;
&#60;p&#62;Thanks in advance for any help!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
