O'Reilly logo

Adobe Flex 4.5 Fundamentals: Training from the Source by Jeff Tapper, Michael Labriola

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Validating customer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required