mandatory

Specifies the nullTest value for the field.

Syntax

Reference_Syntax.mandatory = "string"

Values

Type

Values

String

A string that represents the null test value.

Applies to

Version

XFA 2.1

Examples

JavaScript

Textfield1.mandatory = "error";

FormCalc

TextField1.mandatory = "error"

// Ethnio survey code removed