I am using a set of buttons in the MasterPage for navigation/Display
Click a button, and you unhide a specific section/page and go to it, click again and hides that section and at the moment, goes to a specific field at the beginning of the form.
eg: using xfa.host.setFocus("Main.Instructions.Header.Desc");
I would like to have the form remember the last field of focus prior to clicking the MasterPage Navigation button
Is this possible?
This way, when they click the button the second time, I can bring the user back to where they started prior to clicking the MasterPage Navigation button
Really do not want to set code in every field's exit event.
So the question is, is there a form variable that holds the last field of focus?