oddOrEven

Specifies whether a page is odd or even for pagination within a set of pages.

Syntax

Reference_Syntax.oddOrEven = "any | odd | even"

Values

Type

Values

String

  • any (default)

  • odd

  • even

Matches any page within a document.

  • odd

  • even

Matches the first page within a document and every other page after that, irrespective of page numbering.

  • even

Matches the second page within a document and every other page after that, irrespective of page numbering.

Applies to

Version

XFA 2.5

Examples

The reference syntax expression will vary, depending on the object from which it is invoked.

JavaScript

xfa.form.form1.pageSet.Page1.oddOrEven = "even";

FormCalc

xfa.form.form1.pageSet.Page1.oddOrEven = "even"

// Ethnio survey code removed