<?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: Hardcoding - NAME of form not working.</title>
		<link>https://legacy.forums.gravityhelp.com/topic/hardcoding-name-of-form-not-working</link>
		<description>Gravity Support Forums Topic: Hardcoding - NAME of form not working.</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:05:10 +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/hardcoding-name-of-form-not-working" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Hardcoding - NAME of form not working."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hardcoding-name-of-form-not-working#post-161229</link>
			<pubDate>Tue, 05 Mar 2013 15:54:44 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">161229@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Rather than using the PHP function call, can you try it as do_shortcode?  Like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;lt;?php echo (do_shortcode(&#38;quot;[gravityform id=&#38;#39;$form_name&#38;#39; title=&#38;#39;false&#38;#39; ajax=&#38;#39;false&#38;#39; description=&#38;#39;false&#38;#39; tabindex=&#38;#39;12&#38;#39;]&#38;quot;)); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>seangrove on "Hardcoding - NAME of form not working."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hardcoding-name-of-form-not-working#post-160163</link>
			<pubDate>Mon, 04 Mar 2013 15:12:50 +0000</pubDate>
			<dc:creator>seangrove</dc:creator>
			<guid isPermaLink="false">160163@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Have 1 form and parsed the url query to go to form 2  I have created a new page template just for the Gravity Forms.  So as.&#60;/p&#62;
&#60;p&#62;$form_name =  urldecode($form_name) ;&#60;/p&#62;
&#60;p&#62;gravity_form(  &#34;'&#34; . $form_name   .  &#34;'&#34;    false, false, false, '', true, 12);&#60;br /&#62;
//  This does not work but  &#60;/p&#62;
&#60;p&#62;if ( $form_name = 'This Quote Form' )  {&#60;br /&#62;
	$form_name  =   3   ;   }&#60;/p&#62;
&#60;p&#62;//    The form name is correct but does not work, however the form # does work.&#60;/p&#62;
&#60;p&#62;// Do I have to hard code every form and parse them into there numbers?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
