<?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: Enqueueing scripts dynamically to embed multiple forms</title>
		<link>https://legacy.forums.gravityhelp.com/topic/enqueueing-scripts-dynamically-to-embed-multiple-forms</link>
		<description>Gravity Support Forums Topic: Enqueueing scripts dynamically to embed multiple forms</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:21: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/enqueueing-scripts-dynamically-to-embed-multiple-forms" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Enqueueing scripts dynamically to embed multiple forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/enqueueing-scripts-dynamically-to-embed-multiple-forms#post-42185</link>
			<pubDate>Fri, 25 Nov 2011 12:41:37 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">42185@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please do post it.  I'm sure it will be helpful to someone. Thank you for sharing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sean on "Enqueueing scripts dynamically to embed multiple forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/enqueueing-scripts-dynamically-to-embed-multiple-forms#post-42159</link>
			<pubDate>Fri, 25 Nov 2011 04:57:12 +0000</pubDate>
			<dc:creator>Sean</dc:creator>
			<guid isPermaLink="false">42159@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yep - that's where I got to too - it's working great!&#60;/p&#62;
&#60;p&#62;It's actually a really nice solution - using a certain template with a custom field registered, you can choose any form you've created from a dropdown and it displays on the page. Just keeps the wysiwyg area clear of shortcodes which might help with certain styling and keep things simpler for users.&#60;/p&#62;
&#60;p&#62;If anyone wants the code let me know and I'll post it here!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Enqueueing scripts dynamically to embed multiple forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/enqueueing-scripts-dynamically-to-embed-multiple-forms#post-42139</link>
			<pubDate>Fri, 25 Nov 2011 01:31:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">42139@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How about some logic in the header.php of the theme that checks for the existence of the custom field (whatever your key is) and if that's present, enqueue the scripts for the form ID, which is the meta value.  Would that work for you?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sean on "Enqueueing scripts dynamically to embed multiple forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/enqueueing-scripts-dynamically-to-embed-multiple-forms#post-41970</link>
			<pubDate>Wed, 23 Nov 2011 05:18:41 +0000</pubDate>
			<dc:creator>Sean</dc:creator>
			<guid isPermaLink="false">41970@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;I'm using Gravity Forms on a site for a client. I need him to be able to embed forms dynamically in a page template - so he can create a new form, create a new page, and embed his form in the page - but I need to be able to do it using the function call rather than shortcodes.&#60;/p&#62;
&#60;p&#62;I'm creating an array for a drop-down in the page admin (using Developers Custom Fields) so the client can select from the Gravity Forms he's created.&#60;/p&#62;
&#60;p&#62;I'm then using the function call in a page template, and adding the value of the custom field (as the form id) to the function call. &#60;/p&#62;
&#60;p&#62;This works great if I know in advance which form is on which page so I can enqueue the scripts. But if the client creates a new form, creates a new page, and selects his form in the custom drop-down, then the scripts are not enqueued.&#60;/p&#62;
&#60;p&#62;So - is there a way to use gravity_form_enqueue_scripts() without specifying the form id? &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
