<?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: Next and Previous Button class change</title>
		<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change</link>
		<description>Gravity Support Forums Topic: Next and Previous Button class change</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 19:31:58 +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/next-and-previous-button-class-change" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Next and Previous Button class change"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change#post-35982</link>
			<pubDate>Thu, 22 Sep 2011 15:40:47 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">35982@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sure, you can do that but you'll have to remember to update that core file every time you upgrade the plugin. That's not something we recommend doing.&#60;/p&#62;
&#60;p&#62;Is there some reason you can't simply style the buttons using the existing class name? That would be a lot easier and you don't have to continue to hack core files.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>clarkson on "Next and Previous Button class change"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change#post-35971</link>
			<pubDate>Thu, 22 Sep 2011 13:50:26 +0000</pubDate>
			<dc:creator>clarkson</dc:creator>
			<guid isPermaLink="false">35971@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I Managed to fix it by modifying [form_display.php] file&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Line:1392 &#38;quot;button gform_next_button&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;Line:1393 &#38;quot;button gform_previous_button&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change them to whatever class u want :)&#60;br /&#62;
thx
&#60;/p&#62;</description>
		</item>
		<item>
			<title>clarkson on "Next and Previous Button class change"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change#post-35962</link>
			<pubDate>Thu, 22 Sep 2011 12:45:15 +0000</pubDate>
			<dc:creator>clarkson</dc:creator>
			<guid isPermaLink="false">35962@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Kevin,&#60;br /&#62;
i insterted this into my header.php file&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
jQuery.noConflict();
jQuery(document).ready(function($) {

   $(&#38;quot;.gform_previous_button&#38;quot;).addClass(&#38;quot;fancy_button&#38;quot;);
   $(&#38;quot;.gform_next_button&#38;quot;).addClass(&#38;quot;fancy_button&#38;quot;);

});
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;it worked on the first page, but when u press next, the next 2 buttons is still the same :/&#60;br /&#62;
take a look here&#60;br /&#62;
&#60;a href=&#34;https://psdtowebsite.net/order&#34; rel=&#34;nofollow&#34;&#62;https://psdtowebsite.net/order&#60;/a&#62;&#60;br /&#62;
im confused
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Next and Previous Button class change"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change#post-35961</link>
			<pubDate>Thu, 22 Sep 2011 12:30:27 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">35961@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yeah, check that last link I posted. The info you need is in there. You're probably going to want to put in your header.php file or else in a separate page template you create and use for your form pages.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>clarkson on "Next and Previous Button class change"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change#post-35959</link>
			<pubDate>Thu, 22 Sep 2011 12:20:27 +0000</pubDate>
			<dc:creator>clarkson</dc:creator>
			<guid isPermaLink="false">35959@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Kevin,&#60;br /&#62;
im kinda noob with codes stuff,&#60;br /&#62;
could u tell me where to insert the code you just pasted please?&#60;br /&#62;
regards
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Next and Previous Button class change"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change#post-35958</link>
			<pubDate>Thu, 22 Sep 2011 12:16:39 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">35958@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Something like this..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
jQuery.noConflict();
jQuery(document).ready(function($) {

   $(&#38;quot;.gform_previous_button&#38;quot;).addClass(&#38;quot;newPreviousClassName&#38;quot;);
   $(&#38;quot;.gform_next_button&#38;quot;).addClass(&#38;quot;newNextClassName&#38;quot;);

});
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;a href=&#34;http://api.jquery.com/addClass/&#34; rel=&#34;nofollow&#34;&#62;http://api.jquery.com/addClass/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>clarkson on "Next and Previous Button class change"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change#post-35954</link>
			<pubDate>Thu, 22 Sep 2011 11:51:59 +0000</pubDate>
			<dc:creator>clarkson</dc:creator>
			<guid isPermaLink="false">35954@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;could u give me more information on how to use jQuery to append/change the class name for now.&#60;br /&#62;
like where to start
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Next and Previous Button class change"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change#post-35952</link>
			<pubDate>Thu, 22 Sep 2011 11:48:30 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">35952@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There isn't a filter for the previous and next buttons at this point. That's why your code isn't working.&#60;/p&#62;
&#60;p&#62;You'll have to either change the button styles with CSS or use jQuery to append/change the class name for now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>clarkson on "Next and Previous Button class change"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/next-and-previous-button-class-change#post-35948</link>
			<pubDate>Thu, 22 Sep 2011 11:17:59 +0000</pubDate>
			<dc:creator>clarkson</dc:creator>
			<guid isPermaLink="false">35948@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello, i was able to change the submit button class by adding this code to my theme's function file&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_submit_button&#38;quot;, &#38;quot;form_submit_button&#38;quot;, 10, 2);&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;// 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;fancy_button&#38;#39; id=&#38;#39;form_submit_button_{$form[&#38;quot;id&#38;quot;]}&#38;#39;&#38;gt;&#38;lt;span&#38;gt;Continue to Payment&#38;lt;/span&#38;gt;&#38;lt;/button&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but when i tried to do the same for the Next and Previous buttons, [Multi Page buttons ] it didnt work,&#60;br /&#62;
here is the code i used,&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_next_button&#38;quot;, &#38;quot;form_next_button&#38;quot;, 10, 2);
add_filter(&#38;quot;gform_previous_button&#38;quot;, &#38;quot;form_previous_button&#38;quot;, 10, 2);&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;// filter the Gravity Forms button type
add_filter(&#38;quot;gform_next_button&#38;quot;, &#38;quot;gform_next_button&#38;quot;, 10, 2);
function form_next_button($button, $form){
    return &#38;quot;&#38;lt;button class=&#38;#39;fancy_button&#38;#39; id=&#38;#39;form_next_button_{$form[&#38;quot;id&#38;quot;]}&#38;#39;&#38;gt;&#38;lt;span&#38;gt;Next&#38;lt;/span&#38;gt;&#38;lt;/button&#38;gt;&#38;quot;;
}
// filter the Gravity Forms button type
add_filter(&#38;quot;gform_previous_button&#38;quot;, &#38;quot;gform_previous_button&#38;quot;, 10, 2);
function form_previous_button($button, $form){
    return &#38;quot;&#38;lt;button class=&#38;#39;fancy_button&#38;#39; id=&#38;#39;form_previous_button_{$form[&#38;quot;id&#38;quot;]}&#38;#39;&#38;gt;&#38;lt;span&#38;gt;Previous&#38;lt;/span&#38;gt;&#38;lt;/button&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Help me :)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
