Toggle menu

helper.errorDisplay(fieldname, valFailure, valFailures)

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

ArgumentTypeDescription
fieldNameString, requiredThe name of the field for which an error should be displayed
valFailureObject, requiredAn object containing the error message to display. The key will generally be "ERRMSG", check the field's properties to confirm
valFailuresArray, optionalAn array containing details of the errors for all fields

Share this page

Facebook icon Twitter icon email icon

Print

print icon