# Input Text help

**URL:** <https://forum.kirupa.com/t/input-text-help/290368>\
**Category:** flash\
**Created:** [June 13, 2009, 3:14pm UTC](https://forum.kirupa.com/t/input-text-help/290368 "2009-06-13T15:14:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MRPLC](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@MRPLC](https://forum.kirupa.com/u/MRPLC)\
**Post date:** [June 13, 2009, 3:14pm UTC](https://forum.kirupa.com/t/input-text-help/290368/1 "2009-06-13T15:14:14Z")

</div>

Hi all,

I’ve placed an input text box over an image of some lined paper, and would like to set a limit for the number of lines that can be typed, as I would like to avoid the text scrolling (I tried the maximum characters option, but it doesn’t count spaces, perhaps there is a way to make a space count as a character?).

After the user goes beyond this line limit, it would auto-tab to another piece of paper, the auto-tab code’s not a biggie, I can code the setFocus, but I’m really struggling to work out how to set a limit on the amount of lines, and the subsequent event that would trigger the auto-tab.

Any help would be greatly appreciated!
