O'Reilly logo

Flex 3 in Action by Faisal Abid, Jon Hirschi, Tariq Ahmed

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

Chapter 6. Validating user input

Conducting client-side validation is a key strength of Flex. From a usability point-of-view you want your application to do as much prevalidation as possible. This helps to avoid aggravating situations in which a user spends a fair amount of time filling out a large form then clicks the submit button, only to find something is wrong with the input.

This is exactly the sort of thing that prevents an application from being fluid. In the HTML environment you have JavaScript to handle some data validation. How many times have you filled out a form, only to find out the password you provided ...

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