<?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: Add class to submit button</title>
		<link>https://legacy.forums.gravityhelp.com/topic/add-class-to-submit-button</link>
		<description>Gravity Support Forums Topic: Add class to submit button</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Apr 2026 14:40:10 +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/add-class-to-submit-button" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Add class to submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-class-to-submit-button#post-64707</link>
			<pubDate>Wed, 04 Jul 2012 07:46:30 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">64707@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You might be able to maintain the translate ability of the text if you use WordPress' special echo statement for text:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php _e(&#38;#39;Submit&#38;#39;); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Here is an article about WordPress Translation: &#60;a href=&#34;http://pressedwords.com/6-tips-for-localizing-your-wordpress-plugin/&#34; rel=&#34;nofollow&#34;&#62;http://pressedwords.com/6-tips-for-localizing-your-wordpress-plugin/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>caroig on "Add class to submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-class-to-submit-button#post-64679</link>
			<pubDate>Wed, 04 Jul 2012 03:05:40 +0000</pubDate>
			<dc:creator>caroig</dc:creator>
			<guid isPermaLink="false">64679@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;br /&#62;
I'm happy to use the hook.  My concern was the literal used in the example.  I want to be able to set the button text in form settings and translate it with WPML.  &#60;/p&#62;
&#60;p&#62;What do I need to use in the hook to make sure this happens?&#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Add class to submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-class-to-submit-button#post-64620</link>
			<pubDate>Tue, 03 Jul 2012 17:49:03 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">64620@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could add a class to the form, and then modify the .formclass submit in your CSS. Otherwise, you would have to use the hook. To do this, click on the form title section when editing the form, and go to Advanced. From there you could set a specific form class.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>caroig on "Add class to submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-class-to-submit-button#post-64575</link>
			<pubDate>Tue, 03 Jul 2012 13:05:49 +0000</pubDate>
			<dc:creator>caroig</dc:creator>
			<guid isPermaLink="false">64575@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I can see how I can add a class to the submit button using a filter:- &#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 I just want to add the class and retain the configurable/translateable string for the label.  Coul you give me an example of how to do that?&#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
