Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2006
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Limit Character Length in Dynamic Text Field

    Hi Guys,

    Is there a simple way to Limit the amount of characters that can be inputted into a Dynamic Text Field?

    When changing it to input text, i get the option of setting the maximum character length but not for Dynamic text.

    Is there a piece of actionscript that will do this?

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    I don't have a code snippet, but you can make a listener that checks when the field is changed, calculate its length, and proceed appropriately.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •