getError()

Overview

public string function getError(
      required string fieldName
)

Returns the error message for a given field.

Arguments

NameTypeRequiredDescription
fieldNamestringYesThe name of the field whose error you wish to get.