<?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: Max Characters in Title</title>
		<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title</link>
		<description>Gravity Support Forums Topic: Max Characters in Title</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 11:54:20 +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/max-characters-in-title" rel="self" type="application/rss+xml" />

		<item>
			<title>jmtaha on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-217840</link>
			<pubDate>Sun, 21 Apr 2013 13:12:20 +0000</pubDate>
			<dc:creator>jmtaha</dc:creator>
			<guid isPermaLink="false">217840@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just for the record, I would love the ability to do this on the form posting fields also.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-78450</link>
			<pubDate>Tue, 02 Oct 2012 01:44:15 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">78450@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@John, that code will go in your theme's functions.php file.  You will have to customize the form ID and field ID before the code will work for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>John on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-78439</link>
			<pubDate>Tue, 02 Oct 2012 00:43:29 +0000</pubDate>
			<dc:creator>John</dc:creator>
			<guid isPermaLink="false">78439@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I too would like to implement a max character count for post titles on my forms.&#60;/p&#62;
&#60;p&#62;To David (or anyone else that may know) — I am interested in trying the validation solution that Cirfzen provided above. However, where do I insert that code?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-78386</link>
			<pubDate>Mon, 01 Oct 2012 18:47:07 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">78386@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Nicolap, lots of people have found workarounds, and it isn't a widely needed feature, so we haven't ever implemented it. We try to be careful about adding features so that people don't feel overwhelmed by the number of options on each field. Imagine if we had every option available for every field. It would take hours to potentially build a single form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nicolap on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-78366</link>
			<pubDate>Mon, 01 Oct 2012 15:57:53 +0000</pubDate>
			<dc:creator>Nicolap</dc:creator>
			<guid isPermaLink="false">78366@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would like this feature as well.  I don't understand why there can't be a character limit for Titles like there is for Posts.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Cirfzen on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-59375</link>
			<pubDate>Fri, 18 May 2012 05:33:51 +0000</pubDate>
			<dc:creator>Cirfzen</dc:creator>
			<guid isPermaLink="false">59375@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Tried a validation solution that works:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/* VALIDATE title for max char of 30, form have id 1 and title field is number 4  */
add_filter(&#38;quot;gform_field_validation_1_4&#38;quot;, &#38;quot;custom_validation&#38;quot;, 10, 4);
function custom_validation($result, $value, $form, $field){

    if($result[&#38;quot;is_valid&#38;quot;] &#38;amp;&#38;amp; strlen($value) &#38;gt; 30){
        $result[&#38;quot;is_valid&#38;quot;] = false;
        $result[&#38;quot;message&#38;quot;] = &#38;quot;Maximum of 30 characters is allowed!&#38;quot;;
    }
    return $result;
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But the best solution would be to have a Max character choice in the Form editor like the rest of the text fields..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Cirfzen on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-59372</link>
			<pubDate>Fri, 18 May 2012 04:59:10 +0000</pubDate>
			<dc:creator>Cirfzen</dc:creator>
			<guid isPermaLink="false">59372@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have the same problem and would be happy to find a solution.&#60;/p&#62;
&#60;p&#62;Maybe it can be done with the filter &#34;gform_field_content&#34;.&#60;br /&#62;
But the example provided by Gravity Forms documentation is a bit to complex for me to understand.&#60;br /&#62;
So someone with more knowledge in this filters and hooks, please enlighten us.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>antonv on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-41635</link>
			<pubDate>Sat, 19 Nov 2011 03:08:59 +0000</pubDate>
			<dc:creator>antonv</dc:creator>
			<guid isPermaLink="false">41635@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would be interested in this as well. It is weird that it's not implemented on the Title field as well as most other fields have it...&#60;/p&#62;
&#60;p&#62;As for the suggestions, how would you go about doing the custom validation? The other suggestions are not really an option as truncating the title without informing the user seems to me a really bad idea.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-38493</link>
			<pubDate>Fri, 21 Oct 2011 00:51:06 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">38493@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Which of my suggestions did you like best?  I will help you implement the one you would like to try.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>selym on "Max Characters in Title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/max-characters-in-title#post-38491</link>
			<pubDate>Fri, 21 Oct 2011 00:42:45 +0000</pubDate>
			<dc:creator>selym</dc:creator>
			<guid isPermaLink="false">38491@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for your suggestions Chris. I don't understand how to implement any of your suggestions without some research, but I'm trying. I'm currently reading and attempting to figure out what the heck is being discussed here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;GravityForms certainly appears to have a ton of options and flexibility, but when you're not a programmer, it sure starts to feel a lot less flexible. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Selym
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
