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

Model

Object

Form Model

exclGroup

field

Version

XFA 2.1

Examples

JavaScript

Textfield1.mandatory = "error";

FormCalc

TextField1.mandatory = "error"

// Ethnio survey code removed