<?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: MaxButtons supprt</title>
		<link>https://legacy.forums.gravityhelp.com/topic/maxbuttons-supprt</link>
		<description>Gravity Support Forums Topic: MaxButtons supprt</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 11:03: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/maxbuttons-supprt" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "MaxButtons supprt"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/maxbuttons-supprt#post-57122</link>
			<pubDate>Tue, 01 May 2012 09:14:06 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">57122@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That's great, I'm glad to hear it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jeroenlh on "MaxButtons supprt"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/maxbuttons-supprt#post-57120</link>
			<pubDate>Tue, 01 May 2012 09:03:35 +0000</pubDate>
			<dc:creator>jeroenlh</dc:creator>
			<guid isPermaLink="false">57120@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I got the integration working using the GForm submit button hook.&#60;br /&#62;
In short:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$gformButtons = array(
    1 =&#38;gt; &#38;#39;maxbutton:1&#38;#39;,
);

add_filter(&#38;#39;gform_submit_button&#38;#39;, &#38;#39;my_gform_submit_button&#38;#39;, 10, 2);

function my_gform_submit_button($button, $form) {
    if ($def = $gformButtons[$form[&#38;#39;id&#38;#39;]]) {
        list($type, $id) = explode(&#38;#39;:&#38;#39;, $def);
        $shortcode = &#38;quot;[{$type} id={$id}]&#38;quot;;
        $btn = do_shortcode($shortcode);
        if ($btn !== $shortcode)
            $button = str_replace(&#38;#39;href=&#38;#39;, &#38;#39;onclick=&#38;quot;jQuery(\&#38;#39;#gform_&#38;#39;.$form[&#38;#39;id&#38;#39;].&#38;#39;\&#38;#39;).submit();return false;&#38;quot; href=&#38;#39;, $btn);
    }
    return $button;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>jeroenlh on "MaxButtons supprt"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/maxbuttons-supprt#post-56795</link>
			<pubDate>Fri, 27 Apr 2012 11:04:41 +0000</pubDate>
			<dc:creator>jeroenlh</dc:creator>
			<guid isPermaLink="false">56795@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the quick reply!&#60;/p&#62;
&#60;p&#62;MaxButtons are DIVs with all kind of code in it (multiple lines of text, images, etc.), so using their CSS looks a bit a problem to me.&#60;br /&#62;
I'll give it a go with the submit button hook, that should work fine.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "MaxButtons supprt"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/maxbuttons-supprt#post-56793</link>
			<pubDate>Fri, 27 Apr 2012 10:55:47 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">56793@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think your best bet if you are to go this route creating your stylization is to pinpoint the outputted CSS and apply it to the submit button selector on the form. Each form's submit button can be styled uniquely or uniformly depending on how you want to go and which selectors you choose to target.&#60;/p&#62;
&#60;p&#62;You can always use a site to do this for you as well, that will produce CSS to use:&#60;br /&#62;
&#60;a href=&#34;http://css3generator.com/&#34; rel=&#34;nofollow&#34;&#62;http://css3generator.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You may be able to play around with this hook as well to use in conjunction:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_submit_button&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_submit_button&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But, just placing CSS seems to me to be the far easier and better option.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jeroenlh on "MaxButtons supprt"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/maxbuttons-supprt#post-56789</link>
			<pubDate>Fri, 27 Apr 2012 10:35:45 +0000</pubDate>
			<dc:creator>jeroenlh</dc:creator>
			<guid isPermaLink="false">56789@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is the any way to use MaxButtons (from maxfoundry.com) as SUBMIT button for Gravity Forms?&#60;br /&#62;
Will using a JS URL to call the forms submit() work?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
