I need to add a button to a pdf that will enable users to jump back to the page that they came from. For example if somebody goes from page 4 to page 8 I need to add a 'back' button on page 8 that will navigate back to page 4. This is not the same as a previous page action which would only take the user back to page 7 - rather than back to page 4.
You can use the app.goBack(); command
Many thanks GKaiseril.
That is the entire code.
If you want to add it to navigation bar, right mouse click and select the action from the menu.