<?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: query string parameter at gform_pre_render</title>
		<link>https://legacy.forums.gravityhelp.com/topic/query-string-parameter-at-gform_pre_render-1</link>
		<description>Gravity Support Forums Topic: query string parameter at gform_pre_render</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:34:44 +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/query-string-parameter-at-gform_pre_render-1" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "query string parameter at gform_pre_render"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-string-parameter-at-gform_pre_render-1#post-67578</link>
			<pubDate>Mon, 23 Jul 2012 16:08:16 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">67578@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This function should be able to grab the query string to use as a look-up. &#60;/p&#62;
&#60;p&#62;You should be able to use:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$stateid = $_GET[&#38;quot;ID&#38;quot;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And then do your database look-up all within the pre_render hook.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>run23 on "query string parameter at gform_pre_render"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-string-parameter-at-gform_pre_render-1#post-67574</link>
			<pubDate>Mon, 23 Jul 2012 15:46:50 +0000</pubDate>
			<dc:creator>run23</dc:creator>
			<guid isPermaLink="false">67574@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;From a database. It's not the WP, but my own mysql db.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "query string parameter at gform_pre_render"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-string-parameter-at-gform_pre_render-1#post-67556</link>
			<pubDate>Mon, 23 Jul 2012 14:28:24 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67556@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Where do the zip codes come from once you have the unique ID for the state?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>run23 on "query string parameter at gform_pre_render"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/query-string-parameter-at-gform_pre_render-1#post-67547</link>
			<pubDate>Mon, 23 Jul 2012 12:58:36 +0000</pubDate>
			<dc:creator>run23</dc:creator>
			<guid isPermaLink="false">67547@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to pass a query string parameter to the GF, which is I can do and retrieve via hidden field and dynamic population.&#60;/p&#62;
&#60;p&#62;However, this dynamic value is not available at gform_pre_render. I need this query string because it is a unique ID. This unique ID is used to populate DIFFERENT values dynamically into the form's fields.&#60;/p&#62;
&#60;p&#62;For example, lets say I invoke my form: &#60;a href=&#34;http://www.foo.com/form/?ID=1&#34; rel=&#34;nofollow&#34;&#62;http://www.foo.com/form/?ID=1&#60;/a&#62; ID=1 means that this form pertains to the state of CA. Lets say I have a dropdown of zip codes that I want to dynamically populate with only CA zip codes.&#60;/p&#62;
&#60;p&#62;As I understand it, I must use the hook, gform_pre_render() to populate dropdowns. However, at this function, I don't see my ID field dynamically populated with the value, 1, so I can't determine what zip codes to fill in my ZIP dropdown.&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
