Package com.smartgwt.client.widgets.form.events

# Interface HasHiddenValidationErrorsHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `DynamicForm`, `PropertySheet`, `SearchForm`, `ValuesManager`

public interface HasHiddenValidationErrorsHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addHiddenValidationErrorsHandler(HiddenValidationErrorsHandler handler)`
  Method to display validation error messages for a valuesManager when there is not currently visible form item displaying the errors.

  ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

  `fireEvent`

- ## Method Details

  - ### addHiddenValidationErrorsHandler

    HandlerRegistration addHiddenValidationErrorsHandler(HiddenValidationErrorsHandler handler)
    Method to display validation error messages for a valuesManager when there is not currently visible form item displaying the errors. This will be called when validation fails for
    - a field in a hidden or undrawn member form
    - a hidden field in a visible member form
    - for databound ValuesManagers, a datasource field with specified validators, but not associated item in any member.
    Implement this to provide custom validation error handling for these fields.
    By default hidden validation errors will be logged as warnings in the developerConsole. Call `HiddenValidationErrorsEvent.cancel()` from within `HiddenValidationErrorsHandler.onHiddenValidationErrors(com.smartgwt.client.widgets.form.events.HiddenValidationErrorsEvent)` from this method to suppress that behavior.
    Parameters:
      `handler` - the hiddenValidationErrors handler
    Returns:
      `HandlerRegistration` used to remove this handler