<?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  gravity_form_enqueue_scripts</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamic-gravity_form_enqueue_scripts</link>
		<description>Gravity Support Forums Topic: Dynamic  gravity_form_enqueue_scripts</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:14:35 +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-gravity_form_enqueue_scripts" rel="self" type="application/rss+xml" />

		<item>
			<title>webpuzzlemaster on "Dynamic  gravity_form_enqueue_scripts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-gravity_form_enqueue_scripts#post-43866</link>
			<pubDate>Mon, 12 Dec 2011 23:55:16 +0000</pubDate>
			<dc:creator>webpuzzlemaster</dc:creator>
			<guid isPermaLink="false">43866@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think the problem is solved... You may close this thread
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Dynamic  gravity_form_enqueue_scripts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-gravity_form_enqueue_scripts#post-43858</link>
			<pubDate>Mon, 12 Dec 2011 20:38:17 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">43858@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Let us know if you still have problems.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webpuzzlemaster on "Dynamic  gravity_form_enqueue_scripts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-gravity_form_enqueue_scripts#post-43793</link>
			<pubDate>Mon, 12 Dec 2011 14:43:56 +0000</pubDate>
			<dc:creator>webpuzzlemaster</dc:creator>
			<guid isPermaLink="false">43793@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ok, i think i've read something similar about what you have said, &#60;/p&#62;
&#60;p&#62;that the gravity_form_enqueue_scripts should be called before the wp_head()
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Dynamic  gravity_form_enqueue_scripts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-gravity_form_enqueue_scripts#post-43788</link>
			<pubDate>Mon, 12 Dec 2011 14:09:48 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">43788@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry, I misunderstood what you were trying to do. The css/js isn't displaying because you need to use gravity_form_enqueue_scripts sooner in the page load. So you can use gravity_form_enqueue_scripts in the &#38;lt;head&#38;gt; or before your theme page calls the get_header() function . You won't be able to have the enqueueing and the form in the same function.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webpuzzlemaster on "Dynamic  gravity_form_enqueue_scripts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-gravity_form_enqueue_scripts#post-43779</link>
			<pubDate>Mon, 12 Dec 2011 12:18:52 +0000</pubDate>
			<dc:creator>webpuzzlemaster</dc:creator>
			<guid isPermaLink="false">43779@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;what im trying to do is make it dynamic as possible.. &#60;/p&#62;
&#60;p&#62;the examples on the link you specify is for custom js, but what i only need is to load the GF css/js&#60;/p&#62;
&#60;p&#62;are you saying that my function above will not work?&#60;/p&#62;
&#60;p&#62;what it can do is output the form but not the css/js
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Dynamic  gravity_form_enqueue_scripts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-gravity_form_enqueue_scripts#post-43772</link>
			<pubDate>Mon, 12 Dec 2011 11:53:12 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">43772@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, Ruth,&#60;/p&#62;
&#60;p&#62;It sounds like what you are trying to do is load specific css/js per form. To do this you should use the hook &#34;gform_enqueue_scripts&#34;. The documentation for that hook is located at &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_enqueue_scripts&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_enqueue_scripts&#60;/a&#62; . You can either call the hook for a specific form id like so &#34;gform_enqueue_scripts_6&#34; with 6 being your form id or you can use &#34;gform_enqueue_scripts&#34; and check for the form id in the function you call like so:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($form[&#38;quot;id&#38;quot;] == 1)
{
  //do something for this form only
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Let me know if you have any questions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webpuzzlemaster on "Dynamic  gravity_form_enqueue_scripts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-gravity_form_enqueue_scripts#post-43694</link>
			<pubDate>Sun, 11 Dec 2011 09:10:55 +0000</pubDate>
			<dc:creator>webpuzzlemaster</dc:creator>
			<guid isPermaLink="false">43694@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've created a function that accepts one parameter, the parameter will serve as the form id,&#60;/p&#62;
&#60;p&#62;how can i create a function or make the  gravity_form_enqueue_scripts work using this function..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function enque_scripts($id)
{
gravity_form_enqueue_scripts($id,true);
gravity_form($id, false, true, true, &#38;#39;&#38;#39;, true);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;the gravity form is displaying but the css/js is not loaded..
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
