public interface HasHiddenValidationErrorsHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addHiddenValidationErrorsHandler(HiddenValidationErrorsHandler handler)
Method to display validation error messages for fields that are not currently visible in this form.
This will be called when validation fails for - a hidden field in this form - if this form is databound, a datasource field with specified validators, for which we have no specified form item. Implement this to provide custom validation error handling for these fields. By default hidden validation errors will be logged as warnings in the developerConsole. |
fireEvent
HandlerRegistration addHiddenValidationErrorsHandler(HiddenValidationErrorsHandler handler)
HiddenValidationErrorsEvent.cancel()
from within HiddenValidationErrorsHandler.onHiddenValidationErrors(com.smartgwt.client.widgets.form.events.HiddenValidationErrorsEvent)
from this method to suppress that behavior.handler
- the hiddenValidationErrors handlerHandlerRegistration
used to remove this handler