Returns the names and titles of all of the pages in the form.
Executed
Client-side and server-side.
Arguments
None.
Return
An array of objects. Each object represents a page in the form. Pages are returned in the order they appear in the forms designer.
Example
function(helper, defaultValue, currentValue) {
let pages = helper.getPageNames();
return pages;
}
Would return:
[{
"name": "PAGE1",
"title": "People"
}, {
"name": "PAGE3",
"title": ""
}, {
"name": "PAGE2",
"title": ""
}]
Last modified on September 28, 2023