# If 1 textfield exceed MaxChars how to put whats left into second field?

**URL:** <https://forum.kirupa.com/t/if-1-textfield-exceed-maxchars-how-to-put-whats-left-into-second-field/206716>\
**Category:** Uncategorized\
**Created:** [November 10, 2006, 5:05pm UTC](https://forum.kirupa.com/t/if-1-textfield-exceed-maxchars-how-to-put-whats-left-into-second-field/206716 "2006-11-10T17:05:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elviscat](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@elviscat](https://forum.kirupa.com/u/elviscat)\
**Post date:** [November 10, 2006, 5:05pm UTC](https://forum.kirupa.com/t/if-1-textfield-exceed-maxchars-how-to-put-whats-left-into-second-field/206716/1 "2006-11-10T17:05:08Z")

</div>

Hi,

I have 2 textfields, and would like to know if the first reaches MaxChars or is more than MaxChars is there a way of getting what it is over MaxChars by, removing this and in turn placing this into (at the begining of) a second textfield?

thanks

So far;

```auto

trace(_parent.popupbox.content.profile_venue_txt1.length + "char length of venue1Txt")
    MAX =16
    _parent.popupbox.content.profile_venue_txt1.maxChars = MAX;
 
    if (_parent.popupbox.content.profile_venue_txt1.length > MAX){
 
     }

```
