calculationsEnabled

Specifies whether calculate scripts will execute.

JavaScript Syntax

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

FormCalc Syntax

Reference_Syntax.calculationsEnabled = 0 | 1

Values

Type

Values

Boolean

  • true | 1 (default)

  • false | 0

The calculate scripts execute.

  • false | 0

The calculate scripts do not execute.

Applies to

Version

XFA 2.1

Examples

JavaScript

xfa.host.calculationsEnabled = 1;

FormCalc

xfa.host.calculationsEnabled = 1

// Ethnio survey code removed