At 08:39 AM 5/8/2009, you wrote:
The restrict property is a little more complicated since you need to specify what characters the user is allowed to type in an input text field. You can allow specific letters, numbers, or ranges of letters, numbers, and characters. The following code allows the user to enter only uppercase letters (and not numbers or special characters) in the text field:

myTextBox.restrict = "A-Z";
Ok great.  Thanks.

And, I'm assuming, if I wanted upper-case letters and numbers in there it'd be something like:
<mx:TextInput id="myTextInput" restrict="A-Z,0-9"/>

Thanks,

Laurence MacNeill
Mableton, Georgia, USA



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to