<?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: Filling gform_field_value with values using post</title>
		<link>https://legacy.forums.gravityhelp.com/topic/filling-gform_field_value-with-values-using-post</link>
		<description>Gravity Support Forums Topic: Filling gform_field_value with values using post</description>
		<language>en-US</language>
		<pubDate>Mon, 06 Apr 2026 14:57:00 +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/filling-gform_field_value-with-values-using-post" rel="self" type="application/rss+xml" />

		<item>
			<title>brad13x on "Filling gform_field_value with values using post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/filling-gform_field_value-with-values-using-post#post-32062</link>
			<pubDate>Mon, 08 Aug 2011 17:53:00 +0000</pubDate>
			<dc:creator>brad13x</dc:creator>
			<guid isPermaLink="false">32062@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not very good with JS. Can you please send me a more detailed example? Of this &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_page_loaded?&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_page_loaded?&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brad13x on "Filling gform_field_value with values using post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/filling-gform_field_value-with-values-using-post#post-32060</link>
			<pubDate>Mon, 08 Aug 2011 17:35:16 +0000</pubDate>
			<dc:creator>brad13x</dc:creator>
			<guid isPermaLink="false">32060@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can I use something like this? &#60;a href=&#34;http://pastie.org/1432081&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1432081&#60;/a&#62; I just need a way to grab and prefill fields based on customer ID. I don't have to use gform_validation.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Filling gform_field_value with values using post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/filling-gform_field_value-with-values-using-post#post-32055</link>
			<pubDate>Mon, 08 Aug 2011 16:58:34 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">32055@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No.  gform_field_value fires when the form is displayed, at which point nothing has been post because the post doesn't happen until after the form is submitted.  So you can't use something that is triggered when the form is displayed to do something the form is submitted.  &#60;/p&#62;
&#60;p&#62;You would have to use PHP and jQuery to pre-populate those fields using jQuery using the gform_validation hook to check the field and get the user data based on what is passed and then use jQuery to populate those fields.  The gform_page_loaded jQuery hook is documented here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_page_loaded&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_page_loaded&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So what you are trying to do can't be done with the standard dynamic field population because you want it to happen via gform_validation which isn't the normal way of populating fields dynamically.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brad13x on "Filling gform_field_value with values using post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/filling-gform_field_value-with-values-using-post#post-32054</link>
			<pubDate>Mon, 08 Aug 2011 16:53:18 +0000</pubDate>
			<dc:creator>brad13x</dc:creator>
			<guid isPermaLink="false">32054@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible get a post value into the function gform_field? Should I try to use a cookie or a global?&#60;/p&#62;
&#60;p&#62;Brad
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brad13x on "Filling gform_field_value with values using post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/filling-gform_field_value-with-values-using-post#post-31661</link>
			<pubDate>Wed, 03 Aug 2011 23:11:54 +0000</pubDate>
			<dc:creator>brad13x</dc:creator>
			<guid isPermaLink="false">31661@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey again Carl.&#60;/p&#62;
&#60;p&#62;I'm trying to create a form so that when a person enters their customer code the form auto fills their name and address to the form on the next page.&#60;/p&#62;
&#60;p&#62;I'm able to use&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_validation&#38;#39;, &#38;#39;custom_validation&#38;#39;);
function custom_validation($validation_result)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to check if I have a valid customer but then I'm unable to use post or a global var to get the customer code to gform_field_value. How can I do that? Also is gform_field_value called before gform_validation?&#60;/p&#62;
&#60;p&#62;Here is the form below.&#60;br /&#62;
&#60;a href=&#34;http://dev.cheminc.com/order-form/&#34; rel=&#34;nofollow&#34;&#62;http://dev.cheminc.com/order-form/&#60;/a&#62;&#60;br /&#62;
Please select I have my customer code and enter &#34;sdaf&#34; (no quotes)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Filling gform_field_value with values using post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/filling-gform_field_value-with-values-using-post#post-31595</link>
			<pubDate>Wed, 03 Aug 2011 14:53:40 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">31595@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What exactly are you trying to do, populate a field using the value of post related data? If so, here is a tutorial that discusses how to populate a field using the Post Author that may be able to get you started:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_the_Post_Author&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_the_Post_Author&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brad13x on "Filling gform_field_value with values using post"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/filling-gform_field_value-with-values-using-post#post-31588</link>
			<pubDate>Wed, 03 Aug 2011 13:59:06 +0000</pubDate>
			<dc:creator>brad13x</dc:creator>
			<guid isPermaLink="false">31588@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to be able to access post values from gform_field_value. Is there a way? I have tried $_post and rgpost.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
