|
The easiest way is to use the
StringValidator and set the maxLength property. Then in the function that use
with the user gesture call Validator.isStructureValid(…) This assumes
that you are using <mx:Model> for data binding. The nice thing is it
will do validation as the text area loses focus and it will be bound to whatever
user gesture you have incase the focus does not move from the text area. -Kent From: here is what I want to do, I want to have a text area that
someone can put no more than a certain number of characters in BUT they also
have to put a minimum number of characters in. Sort of like say more than a thousand
characters but no more than two thousand. Is there a way to do this? |
smime.p7s
Description: S/MIME cryptographic signature

