<?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: Pre render hidden field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pre-render-hidden-field</link>
		<description>Gravity Support Forums Topic: Pre render hidden field</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 15:22:22 +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/pre-render-hidden-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Pre render hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-render-hidden-field#post-116389</link>
			<pubDate>Mon, 07 Jan 2013 23:34:32 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">116389@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome.  Thank you for the update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cmeerbeek on "Pre render hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-render-hidden-field#post-116188</link>
			<pubDate>Mon, 07 Jan 2013 15:59:25 +0000</pubDate>
			<dc:creator>cmeerbeek</dc:creator>
			<guid isPermaLink="false">116188@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;This indeed seems to work thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Pre render hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-render-hidden-field#post-115517</link>
			<pubDate>Sun, 06 Jan 2013 22:02:54 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">115517@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's not related to being hidden.  You need to check which array item field 88 is in your $form object.  I added two fields to a form, and made the second one hidden.  In the form object, it is&#60;br /&#62;
$form[&#34;fields&#34;][1] not the field ID of 2.  Here is how I set the default value for hidden field 2:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
$form[&#38;quot;fields&#38;quot;][1][&#38;quot;defaultValue&#38;quot;] = &#38;quot;Populated in my function&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Please dump the form object and find out what the array index is for field ID 88 and use that in your pre_render function.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cmeerbeek on "Pre render hidden field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-render-hidden-field#post-114751</link>
			<pubDate>Sat, 05 Jan 2013 11:41:08 +0000</pubDate>
			<dc:creator>cmeerbeek</dc:creator>
			<guid isPermaLink="false">114751@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I want to change the value of a hidden field in a gform_pre_render filter. Is this possible?&#60;br /&#62;
What I now use is; $form[&#34;fields&#34;][88][&#34;defaultValue&#34;] = &#34;someValue&#34;; but this doesn't work.&#60;br /&#62;
88 is the ID of the hidden field in the current form.&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
