validationsEnabled

Specifies whether the validation scripts will execute.

JavaScript Syntax

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

FormCalc Syntax

Reference_Syntax.validationsEnabled = 0 | 1

Values

Type

Values

Boolean

  • false | 0 (default)

  • Validation scripts are disabled.

  • true | 1

  • Validation scripts are enabled.

Applies to

Version

XFA 2.1

Examples

JavaScript

xfa.host.validationsEnabled = 1;

FormCalc

xfa.host.validationsEnabled = 1

// Ethnio survey code removed