errorText

Returns the validation message for the first failed validation test, or an empty string if this field has passed all validation tests.

Syntax

Reference_Syntax.errorText = "string"

Values

Type

Values

String

If the field is in a valid state, errorText will be empty. If the field is in an invalid state, errorText will hold the validation message text for the validation that failed.

Applies to

Model

Object

Form Model

field

Version

XFA 2.9

// Ethnio survey code removed