<?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: AJAX for submission</title>
		<link>https://legacy.forums.gravityhelp.com/topic/ajax-for-submission</link>
		<description>Gravity Support Forums Topic: AJAX for submission</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 06:16:03 +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/ajax-for-submission" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "AJAX for submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-for-submission#post-1515</link>
			<pubDate>Mon, 16 Nov 2009 14:29:45 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">1515@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Kenny,&#60;br /&#62;
AJAX form submission is not currently supported. We are not sure that will make it into the core, but it would certainly make a nice add-on. If I were to implement this add-on using our hooks/API, I would do the following.&#60;br /&#62;
1- Use the gform_submit_button filter to output a button that does not causes a postback, but instead calls a javascript function that will perform the AJAX call passing all the inputs in the form.&#60;br /&#62;
2- Add a WP AJAX action (i.e. add_action('wp_ajax_submit_form', 'submit_form'); )&#60;br /&#62;
3- In the submit_form() function, call GFFormDisplay::validate() and GFFormDisplay::handle_submission() to help you with validation and saving the data&#60;br /&#62;
4- Depending on the result of validate(), display the error message or the confirmation message&#60;/p&#62;
&#60;p&#62;These are obviously over simplified steps, but should give you a step in the right direction. If you do decide to tackle this add-on and have some questions, I will be glad to help. You may also want to talk to Zack Katz (&#60;a href=&#34;http://www.seodenver.com/gravity-forms-addons/&#34; rel=&#34;nofollow&#34;&#62;http://www.seodenver.com/gravity-forms-addons/&#60;/a&#62;) as he has been writing add-ons for Gravity Forms and AJAX submission is in the list of the ones he is interested in writing&#60;/p&#62;
&#60;p&#62;Thanks for the support and good luck!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kyounger on "AJAX for submission"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/ajax-for-submission#post-1510</link>
			<pubDate>Mon, 16 Nov 2009 12:02:57 +0000</pubDate>
			<dc:creator>kyounger</dc:creator>
			<guid isPermaLink="false">1510@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not sure why I assumed this plugin had this feature, and it was probably my mistake for assuming - but perhaps I just missed the options for it. Figured I'd ask.&#60;/p&#62;
&#60;p&#62;Is there support for non-page-reload submitting of forms? If not, do you plan on adding support for it? Or can you recommend a path to start going down on implementing this on my own using your hooks/api?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
-Kenny
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
