Lesson 15: Using Formatters and Validators
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
Approximate Time
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.
Get Adobe Flex 4.5 Fundamentals: Training from the Source now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.