<?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: Redirect to modal window</title>
		<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-modal-window</link>
		<description>Gravity Support Forums Topic: Redirect to modal window</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:56:44 +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/redirect-to-modal-window" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Redirect to modal window"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-modal-window#post-10372</link>
			<pubDate>Sat, 25 Sep 2010 20:44:26 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">10372@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;yes, another example for just a single form ID is here.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forum.gravityhelp.com/topic/styling-the-submit-button-1#post-7367&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/styling-the-submit-button-1#post-7367&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>curtismchale on "Redirect to modal window"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-modal-window#post-10364</link>
			<pubDate>Sat, 25 Sep 2010 18:37:52 +0000</pubDate>
			<dc:creator>curtismchale</dc:creator>
			<guid isPermaLink="false">10364@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there a way to only rewrite the button for one form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Redirect to modal window"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-modal-window#post-10349</link>
			<pubDate>Fri, 24 Sep 2010 21:55:39 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">10349@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How comfortable are you with WordPress hooks and writing custom PHP? There is a hook on the submit button you can hook into to add a javascript action on it but you would need to write this code from scratch.&#60;/p&#62;
&#60;p&#62;Here is an example of using the gform_submit_botton hook.  Please note this example doesn't do what you want it to do, it's just a code example. This example changes the default input type to use the button element with an included span, popular for implementing the Sliding Door CSS technique.  Your implementation would be different.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
// filter the Gravity Forms button type
add_filter(&#38;quot;gform_submit_button&#38;quot;, &#38;quot;form_submit_button&#38;quot;, 10, 2);
function form_submit_button($button, $form){
return &#38;quot;&#38;lt;button class=&#38;#39;button&#38;#39; id=&#38;#39;gform_submit_button_{$form[&#38;quot;id&#38;quot;]}&#38;#39;&#38;gt;&#38;lt;span&#38;gt;Submit&#38;lt;/span&#38;gt;&#38;lt;/button&#38;gt;&#38;quot;;
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>curtismchale on "Redirect to modal window"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-modal-window#post-10347</link>
			<pubDate>Fri, 24 Sep 2010 21:28:33 +0000</pubDate>
			<dc:creator>curtismchale</dc:creator>
			<guid isPermaLink="false">10347@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've got a one line form (email capture) and the client wants it to submit the email then open a second form with all of the email signup options (multiple email lists) in a modal 'lightbox' form. They are using MailChimp so I'm using the addon for that.&#60;/p&#62;
&#60;p&#62;Is there a way to do this with Gravity Forms that I'm missing? If we're looking at custom code can you point me in the right direction please.&#60;/p&#62;
&#60;p&#62;I figured that I could use the ajax submit and capture the .click event but that also kills the submission of the first form so that doesn't seem to work. I couldn't figure out how to delay it or use .live to capture the confirmation text then present the modal form.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
