<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Character Limit Count in Text Field</title><link>https://community.appian.com/discussions/f/general/35193/character-limit-count-in-text-field</link><description>I have a text field in an interface and I have defined a character limit of 40. I need to be able to type both English and Greek characters in the field. When I write in Greek, the character limit count shows the double number of characters I actually</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Character Limit Count in Text Field</title><link>https://community.appian.com/thread/136685?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 14:53:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6a4bcd8f-33d4-4cfc-bfe4-12d1b0f6ee2b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK. Thanks a ton for this insight. And it makes me hoping even more for you lifting this limitation soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Character Limit Count in Text Field</title><link>https://community.appian.com/thread/136684?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 14:50:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6afb3bb4-8deb-4b33-823e-61066da306f3</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Yes, the same length considerations apply to the 4000 limit for a field in synced record types - it uses bytes and not true characters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Character Limit Count in Text Field</title><link>https://community.appian.com/thread/136653?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 06:43:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:949724ed-00c2-4e5d-a929-a831f47cc2f4</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I just looked up the documentation:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1718087771332v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;While the Appian platform itself is not affected by these limitations, the database can only store 255 bytes in a VARCHAR(255) field, and you could end up with space for only 63 actual characters.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt;&amp;nbsp;, what about the 4000&amp;nbsp;text length limitation in synced records, is this bytes or characters?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Character Limit Count in Text Field</title><link>https://community.appian.com/thread/136651?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 06:11:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbb575ce-8518-4e9b-b9ad-5ebd9d7db1bd</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;&lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt;&amp;nbsp;Thanks for sharing details. Its seems that fn!lenb function is used to check length. You can write your own custom validation using fn!len() function as mention by &lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp; and &lt;a href="/members/daniell"&gt;Dan Lluhi&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This applies to a!paragraphField as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Character Limit Count in Text Field</title><link>https://community.appian.com/thread/136640?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 19:16:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ead5c788-1bdd-4865-8d33-bc616410a4fe</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;It is behaving as designed - since most limits are designed to limit the amount of data that can be written to the database, the character limit is designed to&amp;nbsp;count multiple characters if the byte representation is higher.&lt;/p&gt;
&lt;p&gt;Like Dan suggested, the best approach is to add a different validation if you want to validate differently.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Character Limit Count in Text Field</title><link>https://community.appian.com/thread/136636?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 15:31:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:385b12d3-9a53-4956-84a9-f6ebd9ae6dbc</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;That&amp;#39;s interesting! Counting characters by the bytes they use is a problematic approach.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt;, is that a known issue? I typed two Korean characters into a text field and it counted it as 6 characters. That&amp;#39;s not exactly intuitive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Character Limit Count in Text Field</title><link>https://community.appian.com/thread/136629?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 13:41:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ee36f67-5021-4d83-b65c-2826989b2241</guid><dc:creator>annad7195</dc:creator><description>&lt;p&gt;Okay, great, thanks, I will try it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Character Limit Count in Text Field</title><link>https://community.appian.com/thread/136628?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 13:25:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b67e82be-f206-49c5-bef3-a0fc5fa4676f</guid><dc:creator>Dan Lluhi</dc:creator><description>&lt;p&gt;The characterLimit description reads &amp;quot;characterLimit&lt;span&gt; (&lt;/span&gt;&lt;span&gt;Number (Integer)&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;Determines the maximum number of characters. &lt;strong&gt;Depending on the language, some characters may count as more than one.&lt;/strong&gt;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It looks like fn!len() might count the character lengths as 1 instead of 2, so your best bet may be to write your own character limit validation using fn!len() instead of using the built-in characterLimit parameter&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>