How to remove page from history?
I have a form_page where I have a form to be filled out. When filled out I am going to jump to another page and I don't want the form_page to be part of the history navigation.
Consider this kind of page transitions, where it is possible to go back and forth between all the pages, except the form page, which should only be a one way - and that without messing up the history
I found kind of similar questions with proposed solutions, but none exactly the same. Remove the page from the history when doing the transition to the next page seems to be the right thing to do, but no luck so far.
Then I went the other way and loaded it using the changePage
$.mobile.changePage('#form_page', {changeHash: false})
That seems to work fine for the following pages. But when I am on the form page and press the 'back' button, it will exit the program instead.
Any ideas? Don't know if it matters, but I am running my app on a WP7 phone