<?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: Forms not working on Ajax site</title>
		<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site</link>
		<description>Gravity Support Forums Topic: Forms not working on Ajax site</description>
		<language>en-US</language>
		<pubDate>Thu, 30 Apr 2026 06:03:43 +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/forms-not-working-on-ajax-site" rel="self" type="application/rss+xml" />

		<item>
			<title>bossturbo on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30797</link>
			<pubDate>Fri, 22 Jul 2011 20:51:42 +0000</pubDate>
			<dc:creator>bossturbo</dc:creator>
			<guid isPermaLink="false">30797@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys, It's still not working.  The GF documentation is more confusing than helpful to me for this topic, sorry.&#60;/p&#62;
&#60;p&#62;What exactly do I need to put in my functions.php file?&#60;/p&#62;
&#60;p&#62;What exactly do I need to put in the ajax javascript file on page load?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bossturbo on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30451</link>
			<pubDate>Tue, 19 Jul 2011 16:16:01 +0000</pubDate>
			<dc:creator>bossturbo</dc:creator>
			<guid isPermaLink="false">30451@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;sent.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30442</link>
			<pubDate>Tue, 19 Jul 2011 15:39:28 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">30442@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Brian,&#60;/p&#62;
&#60;p&#62;You can send the FTP and WP admin credentials to &#60;a href=&#34;mailto:david@rocketgenius.com&#34;&#62;david@rocketgenius.com&#60;/a&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bossturbo on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30437</link>
			<pubDate>Tue, 19 Jul 2011 15:21:18 +0000</pubDate>
			<dc:creator>bossturbo</dc:creator>
			<guid isPermaLink="false">30437@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;Sure:&#60;/p&#62;
&#60;p&#62;1)&#60;br /&#62;
a) &#60;a href=&#34;http://www.calicreativeweddings.com/#/contact/&#34; rel=&#34;nofollow&#34;&#62;http://www.calicreativeweddings.com/#/contact/&#60;/a&#62; - form shows up and is styled, but submit button doesn't do anything, the ajax validation doesn't work and the date picker isn't showing up.&#60;br /&#62;
b) &#60;a href=&#34;http://www.calicreativeweddings.com/#/investment/cinematography/&#34; rel=&#34;nofollow&#34;&#62;http://www.calicreativeweddings.com/#/investment/cinematography/&#60;/a&#62; - there is a price form at the bottom that does not show up, same with &#60;a href=&#34;http://www.calicreativeweddings.com/#/investment/photography/&#34; rel=&#34;nofollow&#34;&#62;http://www.calicreativeweddings.com/#/investment/photography/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2) I used this tutorial to make my ajax page loading: &#60;a href=&#34;http://www.deluxeblogtips.com/2010/05/how-to-ajaxify-wordpress-theme.html&#34; rel=&#34;nofollow&#34;&#62;http://www.deluxeblogtips.com/2010/05/how-to-ajaxify-wordpress-theme.html&#60;/a&#62;.  I posted a comment asking for help there too and someone responded with &#34;You should change the jQuery selectors above to exclude elements belong to Gravity Forms (such as buttons, fields).&#34; He is referring to this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$(document).delegate(&#38;quot;a[href^=&#38;#39;&#38;quot;+siteUrl+&#38;quot;&#38;#39;]:not([href*=/wp-admin/]):not([href*=/wp-login.php]):not([href$=/feed/])&#38;quot;, &#38;quot;click&#38;quot;, function() {
    location.hash = this.pathname;
    return false;
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;in the ajax.js file.  But I don't know what I should change or if that is a correct answer.&#60;/p&#62;
&#60;p&#62;3) I will be glad to send the required information, how do I send it to you privately?  I don't see any way to private message on here.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
-brian
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30346</link>
			<pubDate>Mon, 18 Jul 2011 18:01:59 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">30346@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Bossturbo,&#60;/p&#62;
&#60;p&#62;1 - Could you point out a couple pages where you are attempting to load a Gravity Form without success?&#60;br /&#62;
2 - You mentioned that you're loading the pages via ajax. Since Gravity Forms runs a javascript function to handle conditional fields when the page is loaded, I suspect the issues lies in the fact that the form was not loaded when the page was loaded.&#60;br /&#62;
3 - If you send me FTP access and a WP login I will take a look and see about a solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bossturbo on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30341</link>
			<pubDate>Mon, 18 Jul 2011 17:32:06 +0000</pubDate>
			<dc:creator>bossturbo</dc:creator>
			<guid isPermaLink="false">30341@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,  appreciate the assistance, but it's still not working.  I'm probably just not understanding something simple from the documentation.&#60;/p&#62;
&#60;p&#62;Here's what I've tried in my functions.php file:&#60;br /&#62;
    gravity_form_enqueue_scripts(1, true);&#60;br /&#62;
    gravity_form_enqueue_scripts(2, false);&#60;br /&#62;
    gravity_form_enqueue_scripts(3, false);&#60;/p&#62;
&#60;p&#62;when it didn't work, I tried:&#60;br /&#62;
wp_enqueue_script('gravity-forms-php', 'http://www.calicreativeweddings.com/wp-content/plugins/gravityforms/gravityforms.php', array(), false, true);&#60;br /&#62;
    gravity_form_enqueue_scripts(1, true);&#60;br /&#62;
    gravity_form_enqueue_scripts(2, false);&#60;br /&#62;
    gravity_form_enqueue_scripts(3, false);&#60;/p&#62;
&#60;p&#62;When those didn't work I also tried in header.php just before wp_head() (as instructed on the link you posted):&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
    gravity_form_enqueue_scripts(1, true);&#60;br /&#62;
    gravity_form_enqueue_scripts(2, false);&#60;br /&#62;
    gravity_form_enqueue_scripts(3, false);&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;If you want to check it out, the site is at &#60;a href=&#34;http://www.calicreativeweddings.com&#34; rel=&#34;nofollow&#34;&#62;http://www.calicreativeweddings.com&#60;/a&#62; and the Investment-&#38;gt;Cinematography page has a price form.  The Contact page has a regular form... which is showing up and appears to be styled, but has no functionality.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
-brian
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30334</link>
			<pubDate>Mon, 18 Jul 2011 16:00:29 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">30334@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;wp_enqueue_script is a WordPress function, not a Gravity Forms function although Gravity Forms does use that function behind the scenes.  &#60;/p&#62;
&#60;p&#62;You need to use gravity_form_enqueue_scripts to enqueue necessary Gravity Forms scripts.  So that would go in your functions.php file.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bossturbo on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30331</link>
			<pubDate>Mon, 18 Jul 2011 15:50:40 +0000</pubDate>
			<dc:creator>bossturbo</dc:creator>
			<guid isPermaLink="false">30331@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What exactly do I need to put into my functions.php file?&#60;/p&#62;
&#60;p&#62;wp_enqueue_script or gravity_form_enqueue_scripts?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30329</link>
			<pubDate>Mon, 18 Jul 2011 15:49:41 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">30329@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That documentation page has moved. It is located here:&#60;/p&#62;
&#60;p&#62;&#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;
&#60;p&#62;The function call used to enqueue the necessary scripts is documented here:&#60;/p&#62;
&#60;p&#62;&#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;</description>
		</item>
		<item>
			<title>bossturbo on "Forms not working on Ajax site"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/forms-not-working-on-ajax-site#post-30328</link>
			<pubDate>Mon, 18 Jul 2011 15:43:09 +0000</pubDate>
			<dc:creator>bossturbo</dc:creator>
			<guid isPermaLink="false">30328@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am using ajax to load the pages for my site, but GravityForms aren't working.  I saw another topic with this answer:&#60;/p&#62;
&#60;p&#62;&#34;Sounds like you need to enqueue the scripts/CSS manually. You can do this by adding a snippet to your functions.php file. You can find that at the bottom of this page.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/embedding-a-form/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/embedding-a-form/&#60;/a&#62;&#34;&#60;/p&#62;
&#60;p&#62;However, that link does not work.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
