<?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: Way to detect validation error</title>
		<link>https://legacy.forums.gravityhelp.com/topic/way-to-detect-validation-error</link>
		<description>Gravity Support Forums Topic: Way to detect validation error</description>
		<language>en-US</language>
		<pubDate>Fri, 24 Apr 2026 19:48:19 +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/way-to-detect-validation-error" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Way to detect validation error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/way-to-detect-validation-error#post-21543</link>
			<pubDate>Fri, 25 Mar 2011 16:51:44 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">21543@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could get around this by turning on AJAX, and then the page won't refresh when the form is submitted so you won't have to use code to activate the Tab.  AJAX is an option when using the Insert Form wizard to insert the shortcode and can also be used when calling a form via a function call.  Documentation covers both scenarios.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>onedesigncompany on "Way to detect validation error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/way-to-detect-validation-error#post-21508</link>
			<pubDate>Fri, 25 Mar 2011 12:34:09 +0000</pubDate>
			<dc:creator>onedesigncompany</dc:creator>
			<guid isPermaLink="false">21508@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We have some php that we need to run if form validation has detected errors, however I can't find any piece of data or hook that will let us know that there was an error.  The Gform pre render hook looked to be hopeful, but the Form Object that it has access to does not have any specific piece of data saying that validation failed.&#60;/p&#62;
&#60;p&#62;Is there anyway to know this?&#60;/p&#62;
&#60;p&#62;Our form is on a de-activated tab when the page loads, and if there is an error I need to be able to activate it.  I was able to use the gform_pre_submission hook to activate it after a successful submision, but not if there is an error.&#60;/p&#62;
&#60;p&#62;thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
