Is there a way to do this on load?
Create a Form load rule that checks the revision number of the form to see if it is a saved submission.
Form.getSystemData("RevisionNumber") > 0 which will be true if on a saved form.
If this is true then navigate to the page you want.
the pageNo variable will hold the page number;
I am attempting to use some util functions inside this function, but they do not appear to work. Is this because the libraries are not yet loaded at this point?
Should be a new question as this is off topic
Can this be linked to URL parameter?