The problem is that the validators won't fire until they've seen a valid
(non-empty) value come across. We explicitly made a decision that tabbing
through an empty field would not cause an error, so binding doesn't trigger
validation in this case. What you can do is programmatically set the
Yep, I had the same problem earlier. Matt posted this solution that works:
Class MyDateValidator extends mx.validators.DateValidator
{
public function validationError(errorCode:String,
defaultMessage:String,subfield:String):Void
{
If (errorCode == wrongLength)
2 matches
Mail list logo