targetType

Specifies the constraints on moving to a new page or content area before laying out the parent subform.

The targetType property replaces the deprecated break.before (deprecated) property.

Syntax

Reference_Syntax.targetType = "auto | contentArea | pageArea"

Values

Type

Values

String

The value of this property is expected to be compatible with the value of the target property. For instance, it would be considered an error for the target property to reference a page area and the targetType property set to contentArea, or vice versa.

  • auto (default)

  • contentArea

  • pageArea

The determination of a transition to a new page or content area is delegated to the processing application. No transition to a new page or content area is forced.

  • contentArea

  • pageArea

Rendering transitions to the next available content area.

  • pageArea

Rendering transitions to a new page.

The startNew property also modifies some of these behaviors.

Applies to

Version

XFA 2.4

Examples

JavaScript

Subform1.breakAfter.targetType = "contentArea"; 
Subform1.breakAfter.target = "#ContentArea2";

FormCalc

Subform1.breakAfter.targetType = "contentArea" 
Subform1.breakAfter.target = "#ContentArea2"

// Ethnio survey code removed