<?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: Simple AJAX Test</title>
		<link>https://legacy.forums.gravityhelp.com/topic/simple-ajax-test</link>
		<description>Gravity Support Forums Topic: Simple AJAX Test</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:48:53 +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/simple-ajax-test" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Simple AJAX Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/simple-ajax-test#post-105000</link>
			<pubDate>Thu, 20 Dec 2012 13:33:40 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">105000@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you want to do the validation before the form is submitted, you would need to add some jQuery or JavaScript validation.  Gravity Forms validation will only happen after the form is submitted.  There are quite a few discussions online for jQuery validation: &#60;a href=&#34;https://www.google.com/search?q=jquery+validation&#34; rel=&#34;nofollow&#34;&#62;https://www.google.com/search?q=jquery+validation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gimlet on "Simple AJAX Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/simple-ajax-test#post-104550</link>
			<pubDate>Wed, 19 Dec 2012 13:23:48 +0000</pubDate>
			<dc:creator>gimlet</dc:creator>
			<guid isPermaLink="false">104550@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, that does appear to work. I was hoping for a more elegant solution where I don't need to submit the form prior to validating. An ability to add an extra 'Validate this field' button would be ideal. If there's no chance of that, let me know and I'll stick to the validation after submission approach.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Simple AJAX Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/simple-ajax-test#post-103815</link>
			<pubDate>Tue, 18 Dec 2012 01:40:38 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">103815@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think you will have to use the gform_validation hook to accept the input from the user, query your JSON service, then compare the result and return a validation error if the response is not Yes.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_validation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gimlet on "Simple AJAX Test"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/simple-ajax-test#post-103017</link>
			<pubDate>Sat, 15 Dec 2012 15:09:40 +0000</pubDate>
			<dc:creator>gimlet</dc:creator>
			<guid isPermaLink="false">103017@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've got a very simple JSON service running on my site where you ask /service?foo=bar and get back a response of {&#34;response&#34;:&#34;Yes&#34;} or {&#34;response&#34;:&#34;No&#34;}.&#60;/p&#62;
&#60;p&#62;I'd like an input field that allows my users to specify a value for 'foo' and a button that makes the request to /service with the value, and displays the response to the user. If the response is Yes, the value for 'foo' needs to be validated and the user allowed to submit the form.&#60;/p&#62;
&#60;p&#62;Is this possible with hooks and if so, how do I set it up? Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
