Skip to content

Model Object

errorCount()

errorCount() — returns numeric

Available in: model Category: Error Functions

Returns the number of errors this object has associated with it. Specify property or name if you wish to count only specific errors.

NameTypeRequiredDefaultDescription
propertystringnoSpecify a property name here if you want to count only errors set on a specific property.
namestringnoSpecify an error name here if you want to count only errors set with a specific error name.