<?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: Execute JS on AJAX submit</title>
		<link>https://legacy.forums.gravityhelp.com/topic/execute-js-on-ajax-submit</link>
		<description>Gravity Support Forums Topic: Execute JS on AJAX submit</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:41:48 +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/execute-js-on-ajax-submit" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Execute JS on AJAX submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/execute-js-on-ajax-submit#post-60035</link>
			<pubDate>Wed, 23 May 2012 09:53:54 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">60035@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sounds like this is what you are looking for:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_render&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mastal on "Execute JS on AJAX submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/execute-js-on-ajax-submit#post-59994</link>
			<pubDate>Wed, 23 May 2012 02:50:27 +0000</pubDate>
			<dc:creator>Mastal</dc:creator>
			<guid isPermaLink="false">59994@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is possible to do this with gravity forms?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mastal on "Execute JS on AJAX submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/execute-js-on-ajax-submit#post-59591</link>
			<pubDate>Mon, 21 May 2012 04:42:20 +0000</pubDate>
			<dc:creator>Mastal</dc:creator>
			<guid isPermaLink="false">59591@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, I need to execute js code over the gravity form after submit the form if it have validation errors
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Execute JS on AJAX submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/execute-js-on-ajax-submit#post-59208</link>
			<pubDate>Wed, 16 May 2012 19:01:43 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">59208@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So you need to hook into the AJAX form submit and then run your JavaScript again?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mastal on "Execute JS on AJAX submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/execute-js-on-ajax-submit#post-59201</link>
			<pubDate>Wed, 16 May 2012 17:36:12 +0000</pubDate>
			<dc:creator>Mastal</dc:creator>
			<guid isPermaLink="false">59201@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Help please :(
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mastal on "Execute JS on AJAX submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/execute-js-on-ajax-submit#post-58650</link>
			<pubDate>Fri, 11 May 2012 07:14:18 +0000</pubDate>
			<dc:creator>Mastal</dc:creator>
			<guid isPermaLink="false">58650@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;I have a script wich do some modifications over the inputs (adds placeholders and things like that). When I load the form that script is executed normally but if I send the form via AJAX and it have errors, the form returned with errors isnt affected by my script:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/SHX6qUVz&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/SHX6qUVz&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I need to execute again that script when the form has errors. I guess that the problem may be solved easily if i send the form via POST, but i need to send the form via AJAX request.&#60;/p&#62;
&#60;p&#62;I cant show you the form  cause it is in my local server :(&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Execute JS on AJAX submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/execute-js-on-ajax-submit#post-57995</link>
			<pubDate>Mon, 07 May 2012 11:59:43 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">57995@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you give me more information on what you are trying to do as well as a link to your form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mastal on "Execute JS on AJAX submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/execute-js-on-ajax-submit#post-57887</link>
			<pubDate>Sun, 06 May 2012 06:47:38 +0000</pubDate>
			<dc:creator>Mastal</dc:creator>
			<guid isPermaLink="false">57887@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When a form is submitted via AJAX and it have validation errors (for example a required field is empty), I need to execute a JS file over the returned form, but I havent find a way to do it. Is there a solution to this problem?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
