Toggle menu

helper.getPageInstanceMax([pageName])

Returns the maximum number of page instances.

The maximum is set in the forms designer. Defaults to the current page if a page name isn't set.

Executed

Client-side and server-side.

Arguments

ArgumentTypeDescription
pageNameString, optionalThe name of the repeating page to return information about. Defaults to the page the function is used on if not set

Returns

Returns null for non-repeating pages.

Integer. The maximum number of instances of the page to pass validation. There is a platform-wide limit of 100.

Last modified on September 13, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon