I think the besst way to do this is to set up on change event handler that
will fire every time a new character is entered. CHeck for any illegal
characters and remove them.

On 8/14/07, Rick Root <[EMAIL PROTECTED]> wrote:
>
> Oh, and ultimately I want this to apply to an editable combo box.
>
> On 8/14/07, Rick Root <[EMAIL PROTECTED]> wrote:
> > How do I restrict the types of characters that can be typed into a
> > TextInput field in Flex 2?
> >
> > For example, I'd like the user to only be able to type in numbers in
> > certain fields.  No special formatting or anything.. just numbers.
> >
> > Thanks
> >
> > --
> > Rick Root
> > Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
> > www.opensourcecf.com
> >
>
>
> --
> Rick Root
> Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
> www.opensourcecf.com
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4480
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to