Displays the supplied error for the specified field. This will invoke the field's registered error display function. It's useful for creating custom error messages.
Arguments
Argument | Type | Description |
---|---|---|
fieldName | String, required | The name of the field for which an error should be displayed |
valFailure | Object, required | An object containing the error message to display. The key will generally be "ERRMSG", check the field's properties to confirm |
valFailures | Array, optional | An array containing details of the errors for all fields |