com.smartgwt.client.widgets.form

## Interface FormItemErrorFormatter

-     public interface FormItemErrorFormatter

  Formatter to customize the error message of a FormItem

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getErrorHTML(java.lang.String[] errors)` Output the HTML for an error message in a form element.

- - ### Method Detail

    - #### getErrorHTML

          java.lang.String getErrorHTML(java.lang.String[] errors)

      Output the HTML for an error message in a form element. Default behavior respects `showErrorIcon` and `showErrorText` as described in the documentation for those properties.
      Parameters:
        `errors` - the error messages
      Returns:
        the HTML to display the error