Interface FormFieldValidator

    • Method Detail

      • validate

        boolean validate​(java.lang.Object submittedValue,
                         FormFieldValidatorContext validatorContext)
        return true if the submitted value is valid for the given form field.
        Parameters:
        submittedValue - the value submitted to the form field
        validatorContext - object providing access to additional information useful wile validating the form
        Returns:
        true if the value is valid, false otherwise.