Toggle menu

helper.errorClear(fieldName)

Clears any error messages currently displayed by the named field. The function invokes the field's own error clear function.

Executed

Client-side only.

Arguments

ArgumentTypeDescription
fieldNameString, requiredThe name of the field that is displaying the error you'd like to clear

Example

This example will clear any error messages currently displayed by FIELD6.

function (helper) {
    helper.errorClear('FIELD6');
}

Try it out using the example in .errorDisplay.

Last modified on March 26, 2024

Share this page

Facebook icon Twitter icon email icon

Print

print icon