0 Replies Latest reply on Jun 3, 2009 6:29 AM by jim1234

    Validators - showing all validation errors

    jim1234 Level 1

      I have a custom validator for complex passwords and that is working fine.  My question is how do I get flex to show all the validation errors, rather than just one?

       

      Currently my validator waits until the end of the doValidation method to return the validation results array, which contains all of the errors.  This does not seem to affect the behavior of the the validation errors display.

       

      The reason for this is to make things easier on the user.  If they only see one error at a time, it's rather a pain for them to go back and forth after each one.  It's typically much easier for them to see all the errors, so they can fix all of them at one time.

       

      Thanks,

      Jim