<?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: Open a new Gravity Form upon form validation error</title>
		<link>https://legacy.forums.gravityhelp.com/topic/open-a-new-gravity-form-upon-form-validation-error</link>
		<description>Gravity Support Forums Topic: Open a new Gravity Form upon form validation error</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 10:10:57 +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/open-a-new-gravity-form-upon-form-validation-error" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Open a new Gravity Form upon form validation error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/open-a-new-gravity-form-upon-form-validation-error#post-158934</link>
			<pubDate>Sat, 02 Mar 2013 14:12:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">158934@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;1.  OK, got it&#60;/p&#62;
&#60;p&#62;2. If pulling this off is beyond you at this point, it might be helpful to hire someone using our job board &#60;a href=&#34;http://www.gravityhelp.com/forums/forum/job-board&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/forum/job-board&#60;/a&#62; or another WordPress job board like jobs.wordpress.net
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mr_jonboy on "Open a new Gravity Form upon form validation error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/open-a-new-gravity-form-upon-form-validation-error#post-155304</link>
			<pubDate>Tue, 26 Feb 2013 18:40:52 +0000</pubDate>
			<dc:creator>mr_jonboy</dc:creator>
			<guid isPermaLink="false">155304@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the reply.&#60;/p&#62;
&#60;p&#62;1. Took zip codes out for the post to save space.&#60;br /&#62;
2. I tried many things but I guess its beyond me on how to properly merge a zipcode array with conditional javascript. Just not sure what I am missing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Open a new Gravity Form upon form validation error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/open-a-new-gravity-form-upon-form-validation-error#post-154573</link>
			<pubDate>Mon, 25 Feb 2013 23:35:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">154573@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Looking at your code I have a few questions:&#60;/p&#62;
&#60;p&#62;1.  Why is the zipcodes array empty on this line?&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/6335799#12&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6335799#12&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2.  Your code to open the modal window would be executed for every field in the form, due to where you placed it in the loop.  If you look at David's code, the modal dialog will only be added if $zip_failed_validation were true for any field in the loop, otherwise the form is just returned.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mr_jonboy on "Open a new Gravity Form upon form validation error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/open-a-new-gravity-form-upon-form-validation-error#post-154319</link>
			<pubDate>Mon, 25 Feb 2013 14:59:13 +0000</pubDate>
			<dc:creator>mr_jonboy</dc:creator>
			<guid isPermaLink="false">154319@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I tried to take what was stated above and merge it with a zip code validation array in another post that I found. However this is not creating the desired result. Would someone willing to provide some assistance on this code. Obviously this is pretty new to me. :-)&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/6335799&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6335799&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mr_jonboy on "Open a new Gravity Form upon form validation error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/open-a-new-gravity-form-upon-form-validation-error#post-151588</link>
			<pubDate>Thu, 21 Feb 2013 11:08:24 +0000</pubDate>
			<dc:creator>mr_jonboy</dc:creator>
			<guid isPermaLink="false">151588@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you very much. I will give it a go and let you know.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Open a new Gravity Form upon form validation error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/open-a-new-gravity-form-upon-form-validation-error#post-151086</link>
			<pubDate>Wed, 20 Feb 2013 18:38:26 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">151086@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi mr_jonboy,&#60;/p&#62;
&#60;p&#62;If you use the &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;gform_pre_render&#60;/a&#62; hook, you can check the $form object that is passed for the zipcode field and see if that is the field that failed validation. If so, you can output your custom JS to load the modal with the separate form. Here is some sample code:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/6260849&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6260849&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mr_jonboy on "Open a new Gravity Form upon form validation error"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/open-a-new-gravity-form-upon-form-validation-error#post-150921</link>
			<pubDate>Wed, 20 Feb 2013 11:28:19 +0000</pubDate>
			<dc:creator>mr_jonboy</dc:creator>
			<guid isPermaLink="false">150921@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am looking for the best/easiest way to run a new gravity form when the current form fails validation. Example: user enters a zip code that is not valid upon submission. When the form fails validation a second form opens which is used to gather user contact info so they can be notified when their zip code is available.&#60;/p&#62;
&#60;p&#62;Does anyone have an answer already to this that I was unable to find in the search or have any ideas as to a solution?&#60;/p&#62;
&#60;p&#62;Thanks in advance.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
