<?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_pre_submission copy field to custom field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-copy-field-to-custom-field</link>
		<description>Gravity Support Forums Topic: gform_pre_submission copy field to custom field</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:12:26 +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_pre_submission-copy-field-to-custom-field" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "gform_pre_submission copy field to custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-copy-field-to-custom-field#post-241605</link>
			<pubDate>Tue, 07 May 2013 17:16:47 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">241605@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Were you able to solve the issue with the form? I did finally notice an issue with your code... You have round brackets in one and square in the other. They should both be square brackets.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>draney on "gform_pre_submission copy field to custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-copy-field-to-custom-field#post-241572</link>
			<pubDate>Tue, 07 May 2013 16:33:58 +0000</pubDate>
			<dc:creator>draney</dc:creator>
			<guid isPermaLink="false">241572@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Will you please remove my website URL from my April 26 post (above)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>draney on "gform_pre_submission copy field to custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-copy-field-to-custom-field#post-231330</link>
			<pubDate>Tue, 30 Apr 2013 17:15:46 +0000</pubDate>
			<dc:creator>draney</dc:creator>
			<guid isPermaLink="false">231330@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not sure you got my reply above. Can you help?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>draney on "gform_pre_submission copy field to custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-copy-field-to-custom-field#post-225637</link>
			<pubDate>Fri, 26 Apr 2013 13:16:24 +0000</pubDate>
			<dc:creator>draney</dc:creator>
			<guid isPermaLink="false">225637@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here is a link to the form, but please remove it from the thread:&#60;br /&#62;
-removed-&#60;/p&#62;
&#60;p&#62;I am using latest WP and GF
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "gform_pre_submission copy field to custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-copy-field-to-custom-field#post-225322</link>
			<pubDate>Fri, 26 Apr 2013 08:47:12 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">225322@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Your code is correct. Doesn't look like you are doing anything wrong to me. Can you link to your form and give me more information about your set-up? Are you running the latest Gravity Forms and WordPress versions?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>draney on "gform_pre_submission copy field to custom field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_submission-copy-field-to-custom-field#post-224417</link>
			<pubDate>Thu, 25 Apr 2013 20:09:07 +0000</pubDate>
			<dc:creator>draney</dc:creator>
			<guid isPermaLink="false">224417@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to copy a website url field (ID:28) to a custom field (ID:19) and have the following in my functions file, but it is not working. What am I doing wrong?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_pre_submission&#38;#39;, &#38;#39;copy_field_value&#38;#39;);
function copy_field_value($form) {
    // copy the value which was submitted in
    // field 28 to hidden field 19
    $_POST[&#38;#39;input_28&#38;#39;] = $_POST(&#38;#39;input_19&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In fact when I do a test with this, the website URL entered in field 28 shows up in my form submission preview, but is missing from the final submission. The custom field #19 doesn't show in the preview of the final submission.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
