isDefined

Indicates whether a valid data window is currently defined.

A data window is considered valid if the current record index points to a record within the data. A data window is not defined if there are no records, or if the current record index is beyond the end of the range of records.

Note: This property is read only.

JavaScript Syntax

Reference_Syntax.isDefined = false | true; 
- or - 
Reference_Syntax.isDefined = 0 | 1;

FormCalc Syntax

Reference_Syntax.isDefined = 0 | 1

Values

Type

Values

Boolean

  • true | 1 (default)

  • false | 0

The current data window is defined.

  • false | 0

The current data window is not defined.

Applies to

Version

XFA 2.1

Examples

JavaScript

xfa.dataWindow.isDefined;

FormCalc

$dataWindow.isDefined

// Ethnio survey code removed