But what if I want to reuse a validator for different fields? For example, in an application with about 100 or more input fields, I don't want to create a validator instance for each field. In this case it would be nice to define a set of validators centrally, which can be used for validating different fields.
|