What You Will Learn
In this lesson, you will:
• Use a formatter and remove string concatenation
• Use a validator to check if data is in a valid format
• Learn to trigger validation in ActionScript
This lesson takes approximately 1 hour to complete.
Flex provides built-in formatters and validators that enable you to display and validate user-supplied data such as dates, numbers, and currencies. Using the built-in data validators on the client side, you can make your application perform better by reducing calls to the server for validation. You can also save development time by using the built-in formatters to automate the often repetitive process of formatting data.