1 Reply Latest reply on Dec 21, 2006 4:12 AM by Peter Lorent

    Max Length of a text field

    leewilson86
      Hello,

      I have been wondering how to prevent a user from entering more than 100 chars into an input text box.

      Basically i tried something like,

      text1_tb.maxLength = 100;

      however this didnt work and then found out it wasnt a correct to use this in flash.

      i was thinking about using a listener. i have a brief idea of how to write listeners but not sure how to write it for my problem

      any help would be greatly appreciated.

      thank you

      Lee