<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to limit the input length for a text label]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">Does anybody know of a way to set the maximum number of characters that can be inputted into a HISE label (set to editable)?</p>
<p dir="auto">I've searched the forum but can't seem to find anything on this.</p>
<p dir="auto">I'd imagine that I could achieve it using a timer somehow, but hoped that there would be a more elegant way.</p>
<p dir="auto">Please share if you have any ideas.</p>
<p dir="auto">Cheers,</p>
<p dir="auto">Lee</p>
]]></description><link>https://forum.hise.audio/topic/3672/how-to-limit-the-input-length-for-a-text-label</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 09:14:20 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/3672.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Feb 2021 09:38:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to limit the input length for a text label on Mon, 22 Feb 2021 11:22:39 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey Great solution... Thanks again mate!</p>
]]></description><link>https://forum.hise.audio/post/30637</link><guid isPermaLink="true">https://forum.hise.audio/post/30637</guid><dc:creator><![CDATA[LeeC]]></dc:creator><pubDate>Mon, 22 Feb 2021 11:22:39 GMT</pubDate></item><item><title><![CDATA[Reply to How to limit the input length for a text label on Mon, 22 Feb 2021 11:19:05 GMT]]></title><description><![CDATA[<p dir="auto">Callback is triggered when you hit enter (or you could trigger it manually, from a button for example).</p>
<pre><code>HiseSnippet 806.3ocsUstaSCCE1tqAsFnHlDO.Q6WoRipjcGMALVufp1sJ5Xh+M4l31ZMG6nDmwpl1KCuL75va.bbR5R6naZqRjekykO6Oe7243tQROZbrLBgqb13PJB+JidiEpQMFQXBTmlH7qMNlDqnQVYtNXbHINl5iv3k9h1AtRYT52u+zADNQ3QKbgPmKYdziXALUg2t6eHiyaS7omwBlJ6M2uimTzPxkI.eVxvAER7tjLjdBQmVICD9Es7YJYTOEQQigbNP5Ot2H4ODY4eNKl0mS0FtndvBk4F0XDi62cxYMFgvk6VbxWJ6j+ViiY9r67WTAdSZ.qBDSWCvklkRkmgRtODkZK495E3AnGdJ5UNidqXzyKhEpJhn41KM5HfKmADnrOMsxxEU5WXiFRHCgpd.4RZ6Hv3ND1a63rl0VNN01qpYUSn3GqrthDYcDoOk6Z8AqIXGRUMjAgRAXXuZV3UyPwDblfZMHQ3oXRgkTjEVCMRxs8lfaMXo4IzZUMuopYE1.K6T65bpXnZj0GsbcfXUrfu6vTOlB6mhdsZ0b30iS5GqhXhg1.2AHZVbaJSdbxpWpbN0fv48Aok883Zs8l5TbhTQOUXWy7FyJl2ZZc+PCFL2X4KEmFM2vZEeziAzVjDzmFMoXMIQPFLqN6EOMclWVMYpDkhNBl5zPZtcgRzcNJQTdQE96acZRTDs3L2GjWHMRwzzA2jdEzomIUqXzjFeoRFlla9MABanRiVMWHmV5QLXqW1H6Z.cMjD9PXuFq+4mvO5qd8PIG202Xys1dmceOL+3e5MfNToeBmnlssUOeJO.Timo+P2CHhYpwSO+5YzK6L2d44VAehzcEitLk2n4y2RyguvMw+a9lOYrpQqACndpBxV1n82WzwfOCp7UYhB5zOl.M7ZswIIA8fGG7n.SDBJOVKSJoUoY1NZackoGU3mZ7G3KOnq1FmGzcRPT.wKRdgWV2md16xod.NIRe1oB79GXa4hR6HAbFN0cPAvSBW34oKEuC397wr9BfYiE.ylK.lsV.Lau.X1YAvr6ihQ+Z7mSTxfr1DvQ2Voilv3VBBnxRUjn+B.eJn8D
</code></pre>
]]></description><link>https://forum.hise.audio/post/30636</link><guid isPermaLink="true">https://forum.hise.audio/post/30636</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Mon, 22 Feb 2021 11:19:05 GMT</pubDate></item><item><title><![CDATA[Reply to How to limit the input length for a text label on Mon, 22 Feb 2021 11:16:01 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey I like your thinking.<br />
I don't think that label callbacks are triggered when text is entered, which is why I was thinking about using a timer.</p>
<p dir="auto">Also, have you got any thoughts on how to  delete the the additional characters that exceed the <code>MaxTextLength</code>?</p>
]]></description><link>https://forum.hise.audio/post/30635</link><guid isPermaLink="true">https://forum.hise.audio/post/30635</guid><dc:creator><![CDATA[LeeC]]></dc:creator><pubDate>Mon, 22 Feb 2021 11:16:01 GMT</pubDate></item><item><title><![CDATA[Reply to How to limit the input length for a text label on Mon, 22 Feb 2021 10:40:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/505">@LeeC</a> If the label's callback is triggered when entering text you could check the string length and delete any additional characters the user tries to enter.</p>
]]></description><link>https://forum.hise.audio/post/30632</link><guid isPermaLink="true">https://forum.hise.audio/post/30632</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Mon, 22 Feb 2021 10:40:07 GMT</pubDate></item></channel></rss>