<?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: Modify form data after submit</title>
		<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit</link>
		<description>Gravity Support Forums Topic: Modify form data after submit</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 00:58:24 +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/modify-form-data-after-submit" rel="self" type="application/rss+xml" />

		<item>
			<title>developR on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70546</link>
			<pubDate>Fri, 10 Aug 2012 10:02:07 +0000</pubDate>
			<dc:creator>developR</dc:creator>
			<guid isPermaLink="false">70546@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for clearing up that one :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70511</link>
			<pubDate>Fri, 10 Aug 2012 08:02:01 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">70511@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am glad it worked out for you. The field ID is not exactly the field order. It is an unique identifier given to the field when it is added to the form. If you sort the field, that ID won't change. You can view the id when mousing over the field in the form editor.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>developR on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70474</link>
			<pubDate>Fri, 10 Aug 2012 03:58:56 +0000</pubDate>
			<dc:creator>developR</dc:creator>
			<guid isPermaLink="false">70474@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Alex, Carl,&#60;/p&#62;
&#60;p&#62;so if I'm right we always have to use the field ID, which is the field order. It would be nice if can assign an id in the form editor, so it will be more flexible.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>developR on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70467</link>
			<pubDate>Fri, 10 Aug 2012 03:34:28 +0000</pubDate>
			<dc:creator>developR</dc:creator>
			<guid isPermaLink="false">70467@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Whoohoo! That's why i couldn't find it in the docs :) This works exactly like I wanted!&#60;/p&#62;
&#60;p&#62;Thank you so much Alex and Carl!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70408</link>
			<pubDate>Thu, 09 Aug 2012 16:33:49 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">70408@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We don't have an API for that, so you will have to manually insert the value in the wp_rg_lead_detail table. Assuming your hidden field is submitted blank, the following should do the trick:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;global $wpdb;
$wpdb-&#38;gt;insert(&#38;quot;wp_rg_lead_detail&#38;quot;, array(&#38;quot;value&#38;quot; =&#38;gt; $url, &#38;quot;lead_id&#38;quot; =&#38;gt; $entry[&#38;quot;id&#38;quot;], &#38;quot;field_number&#38;quot; =&#38;gt; $hidden_field_id));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;`
&#60;/p&#62;</description>
		</item>
		<item>
			<title>developR on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70336</link>
			<pubDate>Thu, 09 Aug 2012 10:44:57 +0000</pubDate>
			<dc:creator>developR</dc:creator>
			<guid isPermaLink="false">70336@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;br /&#62;
thanks for your reply!&#60;br /&#62;
Maybe this is a stupid question but never done this before. &#60;/p&#62;
&#60;p&#62;I can fill the field id in the entry object, but how do i save this to the database? Cant find this in de documentation you pointed me to!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70155</link>
			<pubDate>Wed, 08 Aug 2012 11:37:17 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">70155@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you want to update the value of the hidden field with the path to the PNG file that was generated, you would simply update the value of the hidden field that you have added to your form to store this data as part of your custom code that is executed using the gform_after_submission hook.&#60;/p&#62;
&#60;p&#62;After you process the uploaded file and generate the PNG file, you would then update the value of the hidden field via it's field id using the entry object.&#60;/p&#62;
&#60;p&#62;Here is documentation for the gform_after_submission hook:&#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;/p&#62;
&#60;p&#62;Here is documentation for the entry object itself:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Entry_Object&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Entry_Object&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>developR on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70147</link>
			<pubDate>Wed, 08 Aug 2012 11:14:01 +0000</pubDate>
			<dc:creator>developR</dc:creator>
			<guid isPermaLink="false">70147@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;br /&#62;
I was trying to save the value to a hidden field, so in the entries we can view the original and converted. should i use gform_update_meta? &#60;/p&#62;
&#60;p&#62;thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70146</link>
			<pubDate>Wed, 08 Aug 2012 11:11:25 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">70146@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just so i'm clear, do you want to save the path to that PNG file as the value of the value of the upload field the user used to upload the eps or ai file? Or do you want to store the path to the PNG as the value of a different field on the form, which could be a hidden field.  Either way you'd have to store the value in an existing field.  Which route were you wanting to take?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>developR on "Modify form data after submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/modify-form-data-after-submit#post-70066</link>
			<pubDate>Wed, 08 Aug 2012 04:48:59 +0000</pubDate>
			<dc:creator>developR</dc:creator>
			<guid isPermaLink="false">70066@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi All,&#60;br /&#62;
I tried to search the forums but can't find this. &#60;/p&#62;
&#60;p&#62;I have a form where a user can submit a eps or ai file. Afters submission is use gform_after_submission to convert the eps or ai to PNG and save it to wp-content folder.&#60;br /&#62;
Now i want to save the path to that PNG file in the form, but the form is allready submitted. &#60;/p&#62;
&#60;p&#62;Can anyone give me a push in the right direction to update the form data with this path?&#60;/p&#62;
&#60;p&#62;thanks in advance!&#60;br /&#62;
Seb
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
