Sets the currently active
page of a document at run time.
Page values are 0-based, so the first page of a document returns
a value of
0
.
The
currentPage
property is available when
layout:ready
executes
on a client. However, it is not available when
layout:ready
executes
on the server because the property will not execute until the form
layout executes.
Syntax
Reference_Syntax.currentPage = "integer"
Values
Type
|
Values
|
Integer
|
A valid integer representing a specific
page of the document.
|
JavaScript
xfa.host.currentPage = "2";
FormCalc
xfa.host.currentPage = "2"
|
|
|