Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This whole page may be deprecated due to the EqualInputValidator or EqualPasswordInputValidator. (See the JavaDocs 1 2 for more information.)

Sometimes a field cannot be validated in isolation, but instead two or more fields must be validated together. In this case validation takes place at the form level. Subclass AbstractFormValidator, using a constructor that takes as parameters the form components to be validated. When instances of the form are created, add an instance of the validator to the form instance.

...