# Dynamic text field question

**URL:** <https://forum.kirupa.com/t/dynamic-text-field-question/257864>\
**Category:** Uncategorized\
**Created:** [April 17, 2008, 6:58pm UTC](https://forum.kirupa.com/t/dynamic-text-field-question/257864 "2008-04-17T18:58:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![natronp](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@natronp](https://forum.kirupa.com/u/natronp)\
**Post date:** [April 17, 2008, 6:58pm UTC](https://forum.kirupa.com/t/dynamic-text-field-question/257864/1 "2008-04-17T18:58:55Z")

</div>

i’ve got some very small dynamic text fields which i’d like to limit to 17 chars and 22 chars. The text will be populated via either a remote feed or database, etc.

i know you can limit input text fields maxChars, but is there an easy way to limit a dynamic txt box besides stripping the string down using substring method?
