<?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: Dynamic population: what to do if value not present</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-what-to-do-if-value-not-present</link>
		<description>Gravity Support Forums Topic: Dynamic population: what to do if value not present</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:54:09 +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/dynamic-population-what-to-do-if-value-not-present" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Dynamic population: what to do if value not present"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-what-to-do-if-value-not-present#post-81295</link>
			<pubDate>Mon, 15 Oct 2012 21:55:38 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81295@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I like the ideas in your third post best. From your initial question, what you want to do will happen outside of Gravity Forms.  You will have to conditionally include the form in the page (either the form or the error message) based on the presence of that $_GET value. Instead of using a Gravity Form filter as you showed in your second post, you would do the same sort of conditional check, but then use the function call to embed the form, or show your error message.&#60;/p&#62;
&#60;p&#62;However, that is not very helpful. I like the ideas in your third post best: show the form with all the possible values in the drop down and let the user select.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webmaster@hightouchinc.com on "Dynamic population: what to do if value not present"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-what-to-do-if-value-not-present#post-81239</link>
			<pubDate>Mon, 15 Oct 2012 17:25:06 +0000</pubDate>
			<dc:creator>webmaster@hightouchinc.com</dc:creator>
			<guid isPermaLink="false">81239@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;And on further thought, there's several things I could do rather than just hijack the error message. I could alter the field this goes in to display a drop down of all the possible values and have them pick one or show a different form as well. What's your thoughts?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webmaster@hightouchinc.com on "Dynamic population: what to do if value not present"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-what-to-do-if-value-not-present#post-81233</link>
			<pubDate>Mon, 15 Oct 2012 17:16:49 +0000</pubDate>
			<dc:creator>webmaster@hightouchinc.com</dc:creator>
			<guid isPermaLink="false">81233@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just to give a bit more info, I have this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_pre_render&#38;quot;, &#38;quot;check_dynamic_values&#38;quot;);
function check_dynamic_values($form){
	if(isset($_GET[&#38;#39;myval&#38;#39;]))
		return $form;

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Just not sure what to do to override the &#34;Oops! We could not locate your form.&#34; error message
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webmaster@hightouchinc.com on "Dynamic population: what to do if value not present"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-population-what-to-do-if-value-not-present#post-81226</link>
			<pubDate>Mon, 15 Oct 2012 16:58:50 +0000</pubDate>
			<dc:creator>webmaster@hightouchinc.com</dc:creator>
			<guid isPermaLink="false">81226@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to be able to display a certain message if a value in the querystring isn't available. I don't want the form to be shown. Looked through hooks and didn't necessarily see what I was looking for. But basically if the URL looks like /formpage/ rather than /formpage/?myval=1, I want to display a message rather than the form.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
