Using Flex SDK 4.6, I'm trying to restrict a TextInput field to email characters only as follows:
textInput.restrict = "a-z A-z 0-9 \- _ @ .";
However when I run my application, the TextInput field accepts any character. I'm really not sure why this is not working and would appreciate any help.
Try these links. This might be helpful
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/validators/EmailValidator.html