I'm looking for a way to go back to the top of the page. After hiding a subform that goes on to 2 pages and making a new subform visible, the screen only goes back up to the bottom of the new subform.
Can you simply put the cursor in a field at the top of the page that you want?
Use the command: xfa.host.setFocus("fieldname");
If there is no field there you can put a small 1 pixel by 1 pixel field and change the back ground to match the form background, remove borders and do not have a caption so that the users do not even know it is there. It acts like a tab stop.