views:

70

answers:

1

Hello guys.

I'm been trying to validate Data in a Flex TextFiled, and I've encountered some Validator's include in the Flex Framework. But lets say i want to build a custom Validator with my own RegExpression.

Can somebody do me a simple example.

Appreciated.

+1  A: 

Use the RegExpValidator

http://livedocs.adobe.com/flex/3/langref/mx/validators/RegExpValidator.html

Jeff Pinkston
I looked in Adobe Docs for Costum Regular Expressions Validator and i did find one, but it as more complicated than this one. But i didn't saw this one, it works pretty well. Thanks.
Fábio Antunes