<?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: Tagit - restricting the number of tags entered</title>
		<link>https://legacy.forums.gravityhelp.com/topic/tagit-restricting-the-number-of-tags-entered</link>
		<description>Gravity Support Forums Topic: Tagit - restricting the number of tags entered</description>
		<language>en-US</language>
		<pubDate>Thu, 16 Apr 2026 22:30:40 +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/tagit-restricting-the-number-of-tags-entered" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Tagit - restricting the number of tags entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tagit-restricting-the-number-of-tags-entered#post-78872</link>
			<pubDate>Thu, 04 Oct 2012 06:50:14 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">78872@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Using gform_validation is a little bit confusing, but if you start with one of the examples and don't change any of the logic or functionality, just customize it for your form and form fields, I think you will get it working.  Then, you can change the function which parses the text field and then returns an error if more than 3 words are entered.&#60;/p&#62;
&#60;p&#62;If you wanted to be blunt about it, you could use the gform_pre_submission filter to just strip out any word after the third, with no message to the visitor that you modified their input.  You could always tell them afterward, in the confirmation message, that what they entered is too long and you shortened it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Gavin Webb on "Tagit - restricting the number of tags entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tagit-restricting-the-number-of-tags-entered#post-78869</link>
			<pubDate>Thu, 04 Oct 2012 06:36:11 +0000</pubDate>
			<dc:creator>Gavin Webb</dc:creator>
			<guid isPermaLink="false">78869@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris - I'm thinking I'll go down the hooks route, however, I haven't a clue where to start. I've spent some time reading through the Gform validation information, as well as the associated links and really am lost :)&#60;/p&#62;
&#60;p&#62;As for the javascript bit ??? Learning this is on my list of to dos :)&#60;/p&#62;
&#60;p&#62;Thanks. Gavin.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Tagit - restricting the number of tags entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tagit-restricting-the-number-of-tags-entered#post-78720</link>
			<pubDate>Wed, 03 Oct 2012 15:51:26 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">78720@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you want to restrict the input in a form field, you can do it on the front end with jQuery and prevent more than 2 spaces from being entered:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://stackoverflow.com/questions/8618247/how-to-stop-writing-in-textbox-by-using-javascript&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/questions/8618247/how-to-stop-writing-in-textbox-by-using-javascript&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Or you can use the gform_validation hook to check the text which is entered and strip out any words over 3, or return an error and tell the visitor they need to enter fewer tags.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_validation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Gavin Webb on "Tagit - restricting the number of tags entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/tagit-restricting-the-number-of-tags-entered#post-78689</link>
			<pubDate>Wed, 03 Oct 2012 12:12:31 +0000</pubDate>
			<dc:creator>Gavin Webb</dc:creator>
			<guid isPermaLink="false">78689@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi - I've created a Single Line Text field, and checked the Save To Taxonomy option (using the Gravity Forms + Custom Post Types plugin) and the Enable enhanced UI. It all seems to work in that the tags entered into the field become a taxonomy term - fantasitic :)&#60;/p&#62;
&#60;p&#62;However,  how can I restrict the number of terms entered into the field to say three?&#60;/p&#62;
&#60;p&#62;Thanks and all the best. Gavin.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
