<?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: Change the character limit wording</title>
		<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording</link>
		<description>Gravity Support Forums Topic: Change the character limit wording</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 05:59:36 +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/change-the-character-limit-wording" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33983</link>
			<pubDate>Tue, 30 Aug 2011 23:53:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33983@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome, glad you got that working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>octavian on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33972</link>
			<pubDate>Tue, 30 Aug 2011 20:19:06 +0000</pubDate>
			<dc:creator>octavian</dc:creator>
			<guid isPermaLink="false">33972@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That worked perfectly.&#60;br /&#62;
Another great solution from GF support!&#60;br /&#62;
Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33926</link>
			<pubDate>Tue, 30 Aug 2011 14:00:28 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33926@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, just remove the &#34;_6&#34; from the &#34;gform_counter_script_6&#34; - that will apply it to all forms, not just form 6.  The 6 is your form ID.  Most of the Gravity Forms hooks and filters work in the same manner (global or form-specific.)&#60;/p&#62;
&#60;p&#62;Make the second line look like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_counter_script&#38;quot;, &#38;quot;set_counter_script&#38;quot;, 10, 4);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>octavian on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33924</link>
			<pubDate>Tue, 30 Aug 2011 13:15:27 +0000</pubDate>
			<dc:creator>octavian</dc:creator>
			<guid isPermaLink="false">33924@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;it works great, thanks!&#60;/p&#62;
&#60;p&#62;Is there a simple way to make this global? So when I add new forms they look the same?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33906</link>
			<pubDate>Tue, 30 Aug 2011 11:10:47 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33906@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;While reading the documentation today, I found a hook we should be using instead:  &#60;strong&#62;gform_counter_script&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_counter_script&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_counter_script&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Try this in your functions.php&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
// change the 6 here to your form ID
add_filter(&#38;quot;gform_counter_script_6&#38;quot;, &#38;quot;set_counter_script&#38;quot;, 10, 4);
function set_counter_script($script, $form_id, $field_id, $max_length){
    $script = &#38;quot;&#38;lt;script type=&#38;#39;text/javascript&#38;#39;&#38;gt;//&#38;lt;![CDATA[\n jQuery(document).ready(function(){&#38;quot; .
                &#38;quot;jQuery(&#38;#39;#{$field_id}&#38;#39;).textareaCount(&#38;quot; .
                &#38;quot;    {&#38;quot; .
                &#38;quot;    &#38;#39;maxCharacterSize&#38;#39;: {$max_length},&#38;quot; .
                &#38;quot;    &#38;#39;originalStyle&#38;#39;: &#38;#39;ginput_counter&#38;#39;,&#38;quot; .
                &#38;quot;    &#38;#39;displayFormat&#38;#39; : &#38;#39;#input / #max&#38;#39;&#38;quot; .
                &#38;quot;    })});&#38;quot; .
              &#38;quot;\n//]]&#38;gt;&#38;lt;/script&#38;gt;&#38;quot;;
    return $script;
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Sorry about that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>octavian on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33889</link>
			<pubDate>Tue, 30 Aug 2011 08:44:06 +0000</pubDate>
			<dc:creator>octavian</dc:creator>
			<guid isPermaLink="false">33889@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I can't provide the link right now as I am doing it on local server.&#60;br /&#62;
I checked the order of scripts in head through firebug, and the script you provided is the last one, just before the closing &#38;lt;/head&#38;gt;.&#60;/p&#62;
&#60;p&#62;I tried putting it earlier, just after &#38;lt;?php wp_head(); ?&#38;gt;, but with the same result.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33724</link>
			<pubDate>Sun, 28 Aug 2011 00:47:13 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33724@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Do you have a link to your page?  It's possible that this script is being included before Gravity Forms includes their script, so theirs runs later?&#60;/p&#62;
&#60;p&#62;I think #max not working is because of the same thing.  The #max shorthand will only work when maxCharacterSize is defined (by default it's -1), and my guess is that the limit is coming from Gravity Forms later.  Please post a URL to your page, or see if the order of the scripts might be fouling things.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>octavian on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33716</link>
			<pubDate>Sat, 27 Aug 2011 18:05:39 +0000</pubDate>
			<dc:creator>octavian</dc:creator>
			<guid isPermaLink="false">33716@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ah, it alsmost worked.&#60;/p&#62;
&#60;p&#62;It displays as:&#60;/p&#62;
&#60;p&#62;3 of 2000 max characters&#60;br /&#62;
3 / #max&#60;/p&#62;
&#60;p&#62;Now. So the previous text is still present and also maximum number of characters is not displayed properly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>octavian on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33713</link>
			<pubDate>Sat, 27 Aug 2011 17:03:34 +0000</pubDate>
			<dc:creator>octavian</dc:creator>
			<guid isPermaLink="false">33713@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you, Chris!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Change the character limit wording"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-the-character-limit-wording#post-33709</link>
			<pubDate>Sat, 27 Aug 2011 15:35:32 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">33709@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms uses this script to count characters in a textarea:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://roy-jin.appspot.com/jsp/textareaCounter.jsp&#34; rel=&#34;nofollow&#34;&#62;http://roy-jin.appspot.com/jsp/textareaCounter.jsp&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Looking at those docs, it seems like you want to use &#60;strong&#62;displayFormat&#60;/strong&#62;.  Your display format would look something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[js]
$jQuery(document).ready(function(){
	var options = {
		&#38;#39;displayFormat&#38;#39; : &#38;#39;#input / #max&#38;#39;
	};
	$(&#38;#39;#yourtextareaID&#38;#39;).textareaCount(options);
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You will be adding JavaScript to the head of the page that contains the form with your textarea:&#60;br /&#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>

	</channel>
</rss>
