Validation

ValidationDisplayState

Applications can use a ValidationDisplayState to filter messages depending on the current application state. HIDE_MANDATORY_FIELD_VALIDATIONS filters all messages with a ValidationMarker returning true for isRequiredInformationMissing. This enables the aforementioned hiding of mandatory-field messages as long as a user hasn’t had a chance to enter any values.