I think they must have dropped the
required dependencies on the basic validators in a recent release of the Validator package, because Ted Husted wrote in his book
Struts in Action that most of the basic validators are declared dependent on the
required validator.
Like most of the other standard validators, the mask validator is declared to be dependent on the required validator. Therefore, if a field depends on both required and mask, then the required validator must complete successfully before the mask validator is applied.
[ April 29, 2004: Message edited by: Sean Walker ]
Sean Walker<br />PMP, SCEA, SCWCD, SCJP