<?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: Default form field values</title>
		<link>https://legacy.forums.gravityhelp.com/topic/default-form-field-values</link>
		<description>Gravity Support Forums Topic: Default form field values</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 16:15:37 +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/default-form-field-values" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Default form field values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/default-form-field-values#post-54014</link>
			<pubDate>Mon, 02 Apr 2012 14:46:29 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">54014@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What you want to do isn't a built in feature.  You want to combine or concatenate the value of two different fields to create the value of a third field.  This can only be done using custom PHP and available hooks.&#60;/p&#62;
&#60;p&#62;You would add a Hidden Field to your form to use to store the value of Field C.  You would then use custom PHP you add to your themes functions.php that uses the gform_pre_submission hook to get the values of Field A and Field B and combine them and store them as the value of Field C (the hidden field you added to your form).&#60;/p&#62;
&#60;p&#62;Here is a support forum thread that discusses how to do this.  Check out the reply by Alex that includes sample code:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/combining-fields&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/combining-fields&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You would have to customize the code to suit your specific use case and needs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>arkmannj on "Default form field values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/default-form-field-values#post-54004</link>
			<pubDate>Mon, 02 Apr 2012 12:35:23 +0000</pubDate>
			<dc:creator>arkmannj</dc:creator>
			<guid isPermaLink="false">54004@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Anyone?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>arkmannj on "Default form field values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/default-form-field-values#post-53448</link>
			<pubDate>Mon, 26 Mar 2012 12:07:59 +0000</pubDate>
			<dc:creator>arkmannj</dc:creator>
			<guid isPermaLink="false">53448@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I would like to know, if I have say three fields is it possible to make the default value of  the third field a combination of the values input into the first two fields?&#60;/p&#62;
&#60;p&#62;Example:  Field A = 0123, Field B = 456&#60;br /&#62;
so the dfefault value for Field C would be 0123456.&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
