<?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: Replace submit button</title>
		<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button</link>
		<description>Gravity Support Forums Topic: Replace submit button</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:02:47 +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/replace-submit-button" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Replace submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button#post-334833</link>
			<pubDate>Thu, 20 Jun 2013 16:04:42 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">334833@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ktrusak's solution is probably still going to be the best you get regarding this issue.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ktrusak on "Replace submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button#post-332554</link>
			<pubDate>Wed, 19 Jun 2013 16:33:07 +0000</pubDate>
			<dc:creator>ktrusak</dc:creator>
			<guid isPermaLink="false">332554@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi I just saw your post, were you able to get a result?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Keithvaugh on "Replace submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button#post-250161</link>
			<pubDate>Mon, 13 May 2013 05:20:55 +0000</pubDate>
			<dc:creator>Keithvaugh</dc:creator>
			<guid isPermaLink="false">250161@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'd like to implement this myself. I am using a modal in pagelines theme and activating it with: &#60;/p&#62;
&#60;p&#62;[pl_modal title=&#34;E-mail contact form&#34; type=&#34;btn&#34; hash=&#34;contact&#34; colortype=&#34;default&#34; label=&#34;Sent email&#34;]&#60;br /&#62;
[gravityform id=&#34;1&#34; name=&#34;Contact &#34;]&#60;br /&#62;
[/pl_modal]&#60;/p&#62;
&#60;p&#62;Ideally what I would like is to move the submit button for the GF form into the modal footer beside the Close button. I tried with the come above, but have not had any luck (changed the gform_submit_button to match my button number. I guess I am unsure of the what the filter does or where it should be added. Tried adding in the custom CSS area of the theme.&#60;br /&#62;
All help would be appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Replace submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button#post-102242</link>
			<pubDate>Thu, 13 Dec 2012 13:19:14 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">102242@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for posting your solution.  I'm sure it will be helpful to someone.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ktrusak on "Replace submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button#post-102241</link>
			<pubDate>Thu, 13 Dec 2012 13:16:59 +0000</pubDate>
			<dc:creator>ktrusak</dc:creator>
			<guid isPermaLink="false">102241@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was able to achieve the end result of having the gform submit in the modal footer. For anyone who uses Twitter Bootstrap, this may be helpful. I spliced the html from the modal into a submit button filter.&#60;/p&#62;
&#60;p&#62;A normal modal would look like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;myModal&#38;quot; class=&#38;quot;modal hide fade&#38;quot; tabindex=&#38;quot;-1&#38;quot; role=&#38;quot;dialog&#38;quot; aria-labelledby=&#38;quot;myModalLabel&#38;quot; aria-hidden=&#38;quot;true&#38;quot;&#38;gt;
  &#38;lt;div class=&#38;quot;modal-header&#38;quot;&#38;gt;
    &#38;lt;button type=&#38;quot;button&#38;quot; class=&#38;quot;close&#38;quot; data-dismiss=&#38;quot;modal&#38;quot; aria-hidden=&#38;quot;true&#38;quot;&#38;gt;×&#38;lt;/button&#38;gt;
    &#38;lt;h3 id=&#38;quot;myModalLabel&#38;quot;  style=&#38;quot;text-align: center;&#38;quot;&#38;gt;Learn More&#38;lt;/h3&#38;gt;
  &#38;lt;/div&#38;gt;
  &#38;lt;div class=&#38;quot;modal-body&#38;quot;&#38;gt;
   Stuff
  &#38;lt;/div&#38;gt;
  &#38;lt;div class=&#38;quot;modal-footer&#38;quot;&#38;gt;
    &#38;lt;button class=&#38;quot;btn&#38;quot; data-dismiss=&#38;quot;modal&#38;quot; aria-hidden=&#38;quot;true&#38;quot;&#38;gt;Close&#38;lt;/button&#38;gt;
  &#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but by making it this when using gforms, you can insert the gform submit into the modal footer:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;myModal2&#38;quot; class=&#38;quot;modal hide fade&#38;quot; tabindex=&#38;quot;-1&#38;quot; role=&#38;quot;dialog&#38;quot; aria-labelledby=&#38;quot;myModalLabel&#38;quot; aria-hidden=&#38;quot;true&#38;quot;&#38;gt;
  &#38;lt;div class=&#38;quot;modal-header&#38;quot;&#38;gt;
    &#38;lt;button type=&#38;quot;button&#38;quot; class=&#38;quot;close&#38;quot; data-dismiss=&#38;quot;modal&#38;quot; aria-hidden=&#38;quot;true&#38;quot;&#38;gt;×&#38;lt;/button&#38;gt;
    &#38;lt;h3 id=&#38;quot;myModalLabel&#38;quot;  style=&#38;quot;text-align: center;&#38;quot;&#38;gt;Contact Us&#38;lt;/h3&#38;gt;
  &#38;lt;/div&#38;gt;
  &#38;lt;div class=&#38;quot;modal-body&#38;quot;&#38;gt;
&#38;lt;?php echo do_shortcode(&#38;#39;[gravityform id=&#38;quot;9&#38;quot; name=&#38;quot;Contact Support&#38;quot; title=&#38;quot;false&#38;quot; description=&#38;quot;false&#38;quot;]&#38;#39;); ?&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and adding a filter to the submit button:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_submit_button_9&#38;quot;, &#38;quot;form_submit_button&#38;quot;, 10, 2);
function form_submit_button($button, $form){
    return &#38;quot;
&#38;lt;/div&#38;gt;
&#38;lt;div class=&#38;#39;modal-footer&#38;#39;&#38;gt;
&#38;lt;button class=&#38;#39;button&#38;#39; id=&#38;#39;gform_submit_button_9&#38;#39;&#38;gt;Submit&#38;lt;/button&#38;gt;&#38;lt;button class=&#38;#39;btn&#38;#39; data-dismiss=&#38;#39;modal&#38;#39; aria-hidden=&#38;#39;true&#38;#39; style=&#38;#39;margin-right: 10px&#38;#39;&#38;gt;Close&#38;lt;/button&#38;gt;
  &#38;lt;/div&#38;gt;&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This way the modal functions as it was design to. A demo can be seen on hookahi.com, there is a 'Message Us' link in the footer.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Replace submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button#post-102119</link>
			<pubDate>Thu, 13 Dec 2012 09:21:31 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">102119@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Let us know if you work something out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ktrusak on "Replace submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button#post-101247</link>
			<pubDate>Tue, 11 Dec 2012 10:27:35 +0000</pubDate>
			<dc:creator>ktrusak</dc:creator>
			<guid isPermaLink="false">101247@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the reply, &#60;/p&#62;
&#60;p&#62;In that case I suppose I could try to do it the other way around, and insert the html from the footer around the submit button.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Replace submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button#post-101111</link>
			<pubDate>Tue, 11 Dec 2012 01:52:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">101111@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't know of any way to put the Gravity Forms submit button outside of Gravity Forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ktrusak on "Replace submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/replace-submit-button#post-100389</link>
			<pubDate>Sat, 08 Dec 2012 21:03:10 +0000</pubDate>
			<dc:creator>ktrusak</dc:creator>
			<guid isPermaLink="false">100389@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there someway to move/displace the submit button?&#60;/p&#62;
&#60;p&#62;I have some forms that are inside the twitter bootstrap modal, and am trying to move the submit button to the footer of the modal. Example at hookahi.com ,if you go to the bottom of the page and click &#34;Contact Us&#34; it pops up.&#60;/p&#62;
&#60;p&#62;I tried the approach here: &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/submit-button-placement-below-a-specific-field&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/submit-button-placement-below-a-specific-field&#60;/a&#62; , but realized since it is not within the &#38;lt;form&#38;gt;&#38;lt;/form&#38;gt; tags it does really work haha. Here is the code for the modal too: &#60;a href=&#34;http://pastie.org/5500454&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/5500454&#60;/a&#62;. I also tried a pretty crude hack with the gform_submit_button filter, and wrapping the footer divs around the button, but that didn't work. Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
