And don’t forget the “everything but ^”, from the docs:

 

If the string begins with ^, the string specifies the characters that may not be entered into the control. For example, the string "^a-z" means all upper case letters may be entered, but no lower case letters are allowed.

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Thursday, August 18, 2005 2:34 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Is there a simple way of doing this

 

<mx:TextInput restrict="0123456789" />

 

I think, also, there maybe some of the Validator classes which offer an extra level of assurance and user feedback.

 

----- Original Message -----

Sent: Thursday, August 18, 2005 2:27 PM

Subject: [flexcoders] Is there a simple way of doing this

 

Making sure that when someone enters something in a textbox that they can only enter numbers and that you can only type in numbers?

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to