Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Manipulating Data > Validating Data

Validating Data

Data validation is crucial for the integrity of your application. Whether the data is coming from a user or a server, ensuring that data is of the type and format required is one of the hallmarks of professional applications. Thankfully, the ease of data validation in Flex is one of the framework’s strong suits. Flex has predefined nearly a dozen validators that are easy to apply, and you can even create your own as needed. A validator is simply a prescribed set of rules; you can then check any data you have against those rules to see if the data passes.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint