mandatoryMessage

Specifies the mandatory message string for this field.

Syntax

Reference_Syntax.mandatoryMessage = "string"

Values

Type

Values

String

A string that represents the mandatory message.

Applies to

Version

XFA 2.1

Examples

JavaScript

Textfield1.mandatoryMessage = "This field is required.";

FormCalc

TextField1.mandatoryMessage = "This field is required."

// Ethnio survey code removed