<?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: gform_after_submission; inherit post</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post</link>
		<description>Gravity Support Forums Topic: gform_after_submission; inherit post</description>
		<language>en-US</language>
		<pubDate>Tue, 07 Apr 2026 16:38:04 +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/gform_after_submission-inherit-post" rel="self" type="application/rss+xml" />

		<item>
			<title>hittheroadjack on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-42539</link>
			<pubDate>Wed, 30 Nov 2011 07:38:08 +0000</pubDate>
			<dc:creator>hittheroadjack</dc:creator>
			<guid isPermaLink="false">42539@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Auto-reply to my question 3 days ago : it is the move_uploaded_file() function!&#60;br /&#62;
Transferring the files using this function converts umlauts . Since GF is not using wp_handle_upload function from WP (why?) you do not get hooks or filters short before transferring the upload. So I had to modify the plugin code(!) to get rid of this nasty thing. I hate doing that because of obvious reasons.&#60;br /&#62;
Are there any plans to insert a hook/filter there or to use wp_handle_upload in future??
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hittheroadjack on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-42220</link>
			<pubDate>Sat, 26 Nov 2011 21:02:30 +0000</pubDate>
			<dc:creator>hittheroadjack</dc:creator>
			<guid isPermaLink="false">42220@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Another question: When using the 'gform_pre_submission' hook you get a $Form object as hand-over parameter. This does not contain the $Entry object or the values, does it? How can I make changes to the values in the $entry[n] before submission to the database?&#60;br /&#62;
I tried also the 'gform_post_data' and 'gform_save_field_value' but they do not seem to be fired in this case.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hittheroadjack on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-42200</link>
			<pubDate>Fri, 25 Nov 2011 17:41:35 +0000</pubDate>
			<dc:creator>hittheroadjack</dc:creator>
			<guid isPermaLink="false">42200@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Tried it and worked well, so far!&#60;br /&#62;
But now I have another issue maybe related to the above. I have a image file upload field in my form and whenever my users are typing German umlauts the $entry[n] contains the right representation also after submission. The file is targeted as thumbnail image for the post. When I look at the uploaded file name, it has been transferred to the standard WP upload folder and to the hashed GF upload folder, but both have the umlauts converted to HTML entities and subseqently, is not displayed as a post_thumbnail. Looking at the database the GUID of the thumbnail points to the WP standard upload folder but the file name shows umlauts. Because they are not the same, it will not display. I have traced it back to the line 1870 in forms_model.php and the target there is the GF hashed upload folder/file name with umlauts. After that may debugger won't work and crashes when the database is accessed. So ,I can't tell what happens after.&#60;br /&#62;
Long story, short question: where happens the fault? Is it the move_uploaded_file() function?&#60;br /&#62;
It seems to happen during the file transfer. Anything I can hook or filter into?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hittheroadjack on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-41352</link>
			<pubDate>Wed, 16 Nov 2011 19:00:03 +0000</pubDate>
			<dc:creator>hittheroadjack</dc:creator>
			<guid isPermaLink="false">41352@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks!&#60;br /&#62;
I'll try that!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-41347</link>
			<pubDate>Wed, 16 Nov 2011 17:54:40 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">41347@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I believe the hook you would want to use would be the gform_pre_submission hook:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This hook fires after validation but before the entry is stored and the post is created.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hittheroadjack on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-41342</link>
			<pubDate>Wed, 16 Nov 2011 17:15:13 +0000</pubDate>
			<dc:creator>hittheroadjack</dc:creator>
			<guid isPermaLink="false">41342@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for looking into my problem.&#60;br /&#62;
Knowing all this now, another solution comes to my mind :&#60;br /&#62;
What if I simply take [5] and write it to [2]  using a hook which is fired just before the post is created. That should solve the problem because direct entry to Post Title field is taken as the postname.&#60;br /&#62;
Is there such a hook or filter? possibly 'gform_post_data' ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-41335</link>
			<pubDate>Wed, 16 Nov 2011 17:01:45 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">41335@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The problem is going to be the content template is only used to create the post.  It's not stored as the value for that field.&#60;/p&#62;
&#60;p&#62;An alternative solution to what you want to do is going to be to scrap using the Single Input that populated the Post Title and instead use the Post Title.&#60;/p&#62;
&#60;p&#62;Since the Post Title field doesn't currently have the No Duplicates features what you will need to do is use the gform_validation field and write some custom validation to do your own check.&#60;/p&#62;
&#60;p&#62;The gform_validation hook has a tutorial here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hittheroadjack on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-41255</link>
			<pubDate>Wed, 16 Nov 2011 10:15:04 +0000</pubDate>
			<dc:creator>hittheroadjack</dc:creator>
			<guid isPermaLink="false">41255@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Now I have set up a test. the result is: it can be reproduced!&#60;br /&#62;
This is what I did :&#60;br /&#62;
[5] is the single line input field&#60;br /&#62;
[2] is the Post Title field with a merge tag in the content template like this {input:5}&#60;br /&#62;
[3] is the body field&#60;br /&#62;
the callback function of the gform_after_submission looks like&#60;br /&#62;
    function var_mail($entry, $form){&#60;br /&#62;
    var_dump($entry);&#60;br /&#62;
	wp_mail('dietmar@herian.de', 'Test GF', print_r($entry,True));&#60;br /&#62;
	wp_mail('dietmar@herian.de', 'Test GF', var_dump($entry,True));&#60;br /&#62;
}&#60;br /&#62;
this is what I get in the email:&#60;/p&#62;
&#60;p&#62;Array&#60;br /&#62;
(&#60;br /&#62;
    [id] =&#38;gt; 443&#60;br /&#62;
    [form_id] =&#38;gt; 11&#60;br /&#62;
    [date_created] =&#38;gt; 2011-11-16 13:51:03&#60;br /&#62;
    [is_starred] =&#38;gt; 0&#60;br /&#62;
    [is_read] =&#38;gt; 0&#60;br /&#62;
    [ip] =&#38;gt; 82.135.31.79&#60;br /&#62;
    [source_url] =&#38;gt; &#60;a href=&#34;http://82.135.31.79/wordpress/cat_show_test/&#34; rel=&#34;nofollow&#34;&#62;http://82.135.31.79/wordpress/cat_show_test/&#60;/a&#62;&#60;br /&#62;
    [post_id] =&#38;gt; 1103&#60;br /&#62;
    [currency] =&#38;gt; EUR&#60;br /&#62;
    [payment_status] =&#38;gt;&#60;br /&#62;
    [payment_date] =&#38;gt;&#60;br /&#62;
    [transaction_id] =&#38;gt;&#60;br /&#62;
    [payment_amount] =&#38;gt;&#60;br /&#62;
    [is_fulfilled] =&#38;gt;&#60;br /&#62;
    [created_by] =&#38;gt; 1&#60;br /&#62;
    [transaction_type] =&#38;gt;&#60;br /&#62;
    [user_agent] =&#38;gt; Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0&#60;br /&#62;
    [status] =&#38;gt; active&#60;br /&#62;
    [5] =&#38;gt; title&#60;br /&#62;
    [3] =&#38;gt; some text from body&#60;br /&#62;
    [1] =&#38;gt;&#60;br /&#62;
    [2] =&#38;gt;&#60;br /&#62;
    [4] =&#38;gt;&#60;br /&#62;
)&#60;br /&#62;
$entry[2] is empty at firing the hook - it should be equal to $entry[5], if  I am not wrong about the function of merge tags.&#60;br /&#62;
And btw : you get exectly the same result when using the gform_post_submission hook
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hittheroadjack on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-41214</link>
			<pubDate>Tue, 15 Nov 2011 19:59:25 +0000</pubDate>
			<dc:creator>hittheroadjack</dc:creator>
			<guid isPermaLink="false">41214@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am not sure what you want me to do because I am using the German translations of GF. Do you mean the content template in a body field?&#60;br /&#62;
I can check putting a Single Input and a Post Title as a tag into the content field and see what happens or I do a var_dump($entry) in the callback function of my gform_after_submission hook. I guess the latter will be more enlightening or I do both together.&#60;br /&#62;
I am highly interested to use the Single Input field because this is a user input. They have no glue what's already in my database when they type it. Otherwise, I have to set a filter to avoid duplicates, bouncing back to user, re-enter and all that stuff.&#60;br /&#62;
Is there a hook later in time, maybe gform_post_submission, where I can rely on the merge tags being parsed?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "gform_after_submission; inherit post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-inherit-post#post-41159</link>
			<pubDate>Tue, 15 Nov 2011 16:07:16 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">41159@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The Post Title field doesn't have the no duplicates because of it's a unique field type and involves both entry and post interaction so it wasn't a feature that was added.&#60;/p&#62;
&#60;p&#62;The problem could be related to how and when post fields are executed.  It's possible this code executed before the merge tags were parsed.&#60;/p&#62;
&#60;p&#62;Can you reliably reproduce this issue with a Single Input and Post Title field using the content template?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
