clearError

Clears the error of the specified field or field array.

clearError(form, name);

Parameters