I have a number of multi page forms where I would like to include the following buttons in the header on the Master page. I have two Master pages one for page 1 and the second one for all remaining pages. It looks like this:
![header.png header.png](/t5/image/serverpage/image-id/4466i10F4635A825DA4A8/image-size/large?v=v2&px=999)
Ignore the blue lines, please, they are guides in the master page. Notice the arrowhead buttons on the right side. I've used the following scripts to make the buttons work. I used a very small textfield as the focus point at the top of each page now on the Master Page 2:
Double Left arrow heads button has this script: xfa.host.setFocus(form1.page1.TextField1);
Single left arrow head button has this script: xfa.host.pageUp();
Single right arrow head button has this script: xfa.host.pageDown();
Double right arrow heads button has this script: xfa.host.setFocus (form1.page5.TextField1); I edit this button depending on the last page in the form.
Before I put this at the top of each page. Then I decided to put the buttons (and the whole header) on Master Page 2 (saves time and formatting each page). All buttons work fine except the right double arrow head (go to last page). I understand why it's not working, but I don't know how to fix it. I'd welcome any help available.
Thanks,
MDawn