<?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: Gravity_form_enqueue_scripts documentation page incomplete, cut off</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gravity_form_enqueue_scripts-documentation-page-incomplete-cut-off</link>
		<description>Gravity Support Forums Topic: Gravity_form_enqueue_scripts documentation page incomplete, cut off</description>
		<language>en-US</language>
		<pubDate>Fri, 03 Apr 2026 18:09:04 +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/gravity_form_enqueue_scripts-documentation-page-incomplete-cut-off" rel="self" type="application/rss+xml" />

		<item>
			<title>danielpettifer on "Gravity_form_enqueue_scripts documentation page incomplete, cut off"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity_form_enqueue_scripts-documentation-page-incomplete-cut-off#post-22715</link>
			<pubDate>Thu, 07 Apr 2011 14:55:08 +0000</pubDate>
			<dc:creator>danielpettifer</dc:creator>
			<guid isPermaLink="false">22715@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You are welcome : ) Some of the documentation is a bit screwed as they just updated everything but as long as people point it out they will fix it!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dwenaus on "Gravity_form_enqueue_scripts documentation page incomplete, cut off"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity_form_enqueue_scripts-documentation-page-incomplete-cut-off#post-22714</link>
			<pubDate>Thu, 07 Apr 2011 14:48:39 +0000</pubDate>
			<dc:creator>dwenaus</dc:creator>
			<guid isPermaLink="false">22714@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;thanks for the reply! I was more pointing out missing documentation than asking for help. &#60;/p&#62;
&#60;p&#62;I used this instead:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function my_init() {
	if (!is_admin()) {
		gravity_form_enqueue_scripts(1, false);
	}
}
add_action(&#38;#39;init&#38;#39;, &#38;#39;my_init&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and put it in the themes' function.php file and it seems to take care of everything.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>danielpettifer on "Gravity_form_enqueue_scripts documentation page incomplete, cut off"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity_form_enqueue_scripts-documentation-page-incomplete-cut-off#post-22712</link>
			<pubDate>Thu, 07 Apr 2011 14:36:29 +0000</pubDate>
			<dc:creator>danielpettifer</dc:creator>
			<guid isPermaLink="false">22712@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have successfully used the enqueue scripts in the page templates of my forms. I was having trouble getting the animation and conditional logic to work. Here is a copy of my page template (not sure if it helps)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
 /*
 Template Name: upload document
 */
?&#38;gt;
&#38;lt;!DOCTYPE html PUBLIC &#38;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&#38;quot;
  &#38;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#38;quot;&#38;gt;
&#38;lt;html xmlns=&#38;quot;http://www.w3.org/1999/xhtml&#38;quot; xml:lang=&#38;quot;en&#38;quot; lang=&#38;quot;en&#38;quot;&#38;gt;
&#38;lt;head&#38;gt;
  &#38;lt;meta http-equiv=&#38;quot;Content-type&#38;quot; content=&#38;quot;text/html; charset=utf-8&#38;quot; /&#38;gt;
  &#38;lt;meta name=&#38;quot;MSSmartTagsPreventParsing&#38;quot; content=&#38;quot;true&#38;quot; /&#38;gt;
  &#38;lt;meta http-equiv=&#38;quot;Imagetoolbar&#38;quot; content=&#38;quot;No&#38;quot; /&#38;gt;
  &#38;lt;title&#38;gt;My Form Title&#38;lt;/title&#38;gt;
  &#38;lt;style type=&#38;quot;text/css&#38;quot;&#38;gt;
#fakeprogress {
	background-color:#ceecff;
	border:2px solid #ADDEFC;
	background-image:url(http://www.docsense.net/wp-content/themes/parallelus-traject/ajax-loader.gif);
	background-repeat:no-repeat;
	background-position:center 65px;
	height:120px;
	width:400px;
	position:absolute;
	top:50%;
	left:50%;
	margin-top:-60px;
	margin-left:-200px;
	z-index:100;
}
#fakeprogress h2 {
	text-align:center;
	margin:0;
	padding:25px 0 0 0;
	font-weight:bold;
	font-size:24px;
	font-family:sans-serif;
}
&#38;lt;/style&#38;gt;

  &#38;lt;style type=&#38;quot;text/css&#38;quot;&#38;gt;
  	body {font-size:13px;}
  &#38;lt;/style&#38;gt;

  &#38;lt;link rel=&#38;#39;stylesheet&#38;#39; id=&#38;#39;gforms_css-css&#38;#39;  href=&#38;#39;&#38;lt;?php bloginfo(&#38;#39;url&#38;#39;); ?&#38;gt;/wp-content/themes/parallelus-traject/css/gravforms.css&#38;#39; type=&#38;#39;text/css&#38;#39; media=&#38;#39;all&#38;#39; /&#38;gt;
  &#38;lt;script type=&#38;#39;text/javascript&#38;#39; src=&#38;#39;&#38;lt;?php bloginfo(&#38;#39;stylesheet_directory&#38;#39;); ?&#38;gt;/includes/js/jquery-142.js?ver=1.4.1&#38;#39;&#38;gt;&#38;lt;/script&#38;gt;
  &#38;lt;script type=&#38;#39;text/javascript&#38;#39; src=&#38;#39;&#38;lt;?php bloginfo(&#38;#39;url&#38;#39;); ?&#38;gt;/wp-content/plugins/gravityforms/js/conditional_logic.js?ver=1.3.13.1&#38;#39;&#38;gt;&#38;lt;/script&#38;gt;
 &#38;lt;?php wp_head(); ?&#38;gt;
  &#38;lt;?php
if(!is_admin()) {
    wp_enqueue_script(&#38;quot;gforms_ui_datepicker&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/jquery-ui/ui.datepicker.js&#38;quot;, array(&#38;quot;jquery&#38;quot;), &#38;quot;1.4&#38;quot;, true);
    wp_enqueue_script(&#38;quot;gforms_datepicker&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/datepicker.js&#38;quot;, array(&#38;quot;gforms_ui_datepicker&#38;quot;), &#38;quot;1.4&#38;quot;, true);
    wp_enqueue_script(&#38;quot;gforms_conditional_logic_lib&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/conditional_logic.js&#38;quot;, array(&#38;quot;gforms_ui_datepicker&#38;quot;), &#38;quot;1.4&#38;quot;, true);
    wp_enqueue_style(&#38;quot;gforms_css&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/css/forms.css&#38;quot;);
}
?&#38;gt;
  &#38;lt;/head&#38;gt;
&#38;lt;body&#38;gt;

  &#38;lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&#38;gt;
  &#38;lt;?php the_content(&#38;#39;read more&#38;#39;); ?&#38;gt;
  &#38;lt;?php endwhile; endif; ?&#38;gt;
  &#38;lt;?php gravity_form_enqueue_scripts(7,true); ?&#38;gt;
  &#38;lt;?php gravity_form(7, false, false, false, &#38;#39;&#38;#39;, true); ?&#38;gt;
  &#38;lt;?php wp_footer(); ?&#38;gt;
&#38;lt;/body&#38;gt;
&#38;lt;/html&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Also here is another link that works for information on embedding forms &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Embedding_A_Form&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Embedding_A_Form&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dwenaus on "Gravity_form_enqueue_scripts documentation page incomplete, cut off"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity_form_enqueue_scripts-documentation-page-incomplete-cut-off#post-22710</link>
			<pubDate>Thu, 07 Apr 2011 13:36:55 +0000</pubDate>
			<dc:creator>dwenaus</dc:creator>
			<guid isPermaLink="false">22710@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;this page is incomplete: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gravity_form_enqueue_scripts&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gravity_form_enqueue_scripts&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;the first sentence is cut off. Also it does not indicate WHERE you should be putting the enqueue script. in the functions.php file of your theme i assume. also it does not mention if you need to run that on an action such as init and then wrap it in a function. or maybe not.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
