Add a validation result (error) to the validation.
public addValidationResult ( string $FieldName, string $ErrorCode = '' ) | ||
$FieldName | string | The name of the form field that has the error. |
$ErrorCode | string | The translation code of the error. Codes that begin with an '@' symbol are treated as literals and not translated. |