Low level jQuery wrapper for displaying an array of error messages.
In your forms you should use .errorDisplay instead. This function is used in the form runtime itself.
Arguments
Arguments | Type | Description |
---|---|---|
fieldID | String, required | The ID of the field (usually the form name and field name, separated by an underscore) |
messages | Array, required | An array of error messages |
Example
function (helper) {
helper.utilDisplayErrorBlock("DISPLAYERRORBLOCK_FIELD2", ["That's an error"]);
}
Last modified on August 24, 2022