asked one day ago
•
Show version history
Does anybody know if this works in Cloud : test code below, catch is triggered, no page change on form, with thanks
var pageVariable = "91";/* your logic to get the variable value, e.g., 1 for the first page */
console.log(pageVariable);
// Check if the pageVariable is defined and valid
if (pageVariable) {
// Change the pagination settings to navigate to the specified page
LFForm.changeFormSettings({pagination: [{ pageId: pageVariable }]})
.then(function() {console.log("Navigated to page: " + pageVariable);})
.catch(function(error) {console.error("Error navigating to page: ", error);})
;}
0
0