Toggle menu

helper.getPreviousPageInstance()

Returns the index of the previous page instance.

For repeating pages this will be the zero-based index of the page instance.

For non repeating pages this will be 0 if the page has only been visited once, 1 if it has been visited more than once (eg the user has navigated back and forwards through the form).

Executed

Client-side and server-side.

Arguments

None.

Returns

Integer, the previous page instance. If there isn't a previous instance, the current instance is returned.

Last modified on September 13, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon