<?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: refresh form after ajax submit</title>
		<link>https://legacy.forums.gravityhelp.com/topic/refresh-form-after-ajax-submit</link>
		<description>Gravity Support Forums Topic: refresh form after ajax submit</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 07:10: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/refresh-form-after-ajax-submit" rel="self" type="application/rss+xml" />

		<item>
			<title>adomedia on "refresh form after ajax submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/refresh-form-after-ajax-submit#post-29051</link>
			<pubDate>Mon, 04 Jul 2011 04:59:08 +0000</pubDate>
			<dc:creator>adomedia</dc:creator>
			<guid isPermaLink="false">29051@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ok, managed it.&#60;/p&#62;
&#60;p&#62;used the confirmation loaded function to reload another page via jquery post which has nothing but the same form in it.&#60;/p&#62;
&#60;p&#62;works a treat, just have to make sure that the page template loads no other content (sidebars etc), just displays the form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adomedia on "refresh form after ajax submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/refresh-form-after-ajax-submit#post-28951</link>
			<pubDate>Fri, 01 Jul 2011 11:46:44 +0000</pubDate>
			<dc:creator>adomedia</dc:creator>
			<guid isPermaLink="false">28951@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;is there any way to force the form to reset after successful submission?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adomedia on "refresh form after ajax submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/refresh-form-after-ajax-submit#post-28949</link>
			<pubDate>Fri, 01 Jul 2011 11:18:22 +0000</pubDate>
			<dc:creator>adomedia</dc:creator>
			<guid isPermaLink="false">28949@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;removed the shortcode from the confirmation setting by the way ;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adomedia on "refresh form after ajax submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/refresh-form-after-ajax-submit#post-28948</link>
			<pubDate>Fri, 01 Jul 2011 11:17:52 +0000</pubDate>
			<dc:creator>adomedia</dc:creator>
			<guid isPermaLink="false">28948@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ok, I tried removing the form shortcode and it worked fine. however, it won't refresh the form back to an empty set of fields. Is there any way to do this??
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adomedia on "refresh form after ajax submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/refresh-form-after-ajax-submit#post-28947</link>
			<pubDate>Fri, 01 Jul 2011 11:05:08 +0000</pubDate>
			<dc:creator>adomedia</dc:creator>
			<guid isPermaLink="false">28947@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ok, I've inserted the form shortcode in the confirmation box and i've got as far as this:&#60;/p&#62;
&#60;p&#62;&#38;lt;div id=&#34;messagethisperson&#34;&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;messagethispersoninner&#34;&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;messagethispersonclose&#34;&#38;gt;Close&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
jQuery(document).bind('gform_confirmation_loaded', function(event,11){&#60;br /&#62;
    jQuery('#messagesent').fadeIn();&#60;br /&#62;
});&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;p id=&#34;messagesent&#34;&#38;gt;Your message has been sent&#38;lt;/p&#38;gt;&#60;br /&#62;
&#38;lt;?php gravity_form(11, false, false, false, '', true); ?&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#60;/p&#62;
&#60;p&#62;What do I put in the 'event' variable??&#60;/p&#62;
&#60;p&#62;The form submits fine, I just want the message sent bit to fade in. Once this is triggered I can clear the form field via jquery and it will look like its a fresh form. I just can't get the jquery function to fire when the form has been submitted
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adomedia on "refresh form after ajax submit"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/refresh-form-after-ajax-submit#post-28945</link>
			<pubDate>Fri, 01 Jul 2011 10:47:07 +0000</pubDate>
			<dc:creator>adomedia</dc:creator>
			<guid isPermaLink="false">28945@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys,&#60;br /&#62;
I could do with a form submitting (via AJAX), displaying the thanks message, waiting 5 secs (or so) then refreshing back to an empty form. Is this possible?&#60;/p&#62;
&#60;p&#62;Thanks in advance
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
