com.smartgwt.client.widgets.form.events

## Interface HasHiddenValidationErrorsHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    DynamicForm, PropertySheet, SearchForm, ValuesManager

      public interface HasHiddenValidationErrorsHandlers
      extends com.google.gwt.event.shared.HasHandlers

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.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 Detail

    - #### addHiddenValidationErrorsHandler

          com.google.gwt.event.shared.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