public interface HiddenValidationErrorsHandler extends EventHandler
Modifier and Type | Method and Description |
---|---|
void |
onHiddenValidationErrors(HiddenValidationErrorsEvent event)
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. |
void onHiddenValidationErrors(HiddenValidationErrorsEvent event)
HiddenValidationErrorsEvent.cancel()
from within onHiddenValidationErrors(com.smartgwt.client.widgets.form.events.HiddenValidationErrorsEvent)
from this method to suppress that behavior.event
- the event