Page 1 of 1

Prevent navigation to previous page

Posted: Fri Nov 14, 2014 4:57 am
by M&M

hi,

How do I prevent navigation to previous page?

Thanks,
M&M


Prevent navigation to previous page

Posted: Fri Nov 14, 2014 5:03 am
by obullei

Hello!

Please take a look here:
http://devcenter.appery.io/documentat...


Prevent navigation to previous page

Posted: Fri Nov 14, 2014 7:57 am
by M&M

hi,

I do not want to navigate to a page but I want to prevent a user from using the back button to go to the previous page.

Thanks,
M&M


Prevent navigation to previous page

Posted: Fri Nov 14, 2014 8:22 am
by Maryna Brodina

Hello!

Do you mean device back button?


Prevent navigation to previous page

Posted: Fri Nov 14, 2014 8:49 am
by M&M

hi,

Yes. I do not want the user to be able to navigate to the previous page using the back button. Can I use some cancelling, some kinda return false; or stopPropagation etc to cancel the navigation? Perhaps use it in the "backButton" event or something?

Thanks,
M&M


Prevent navigation to previous page

Posted: Fri Nov 14, 2014 4:36 pm
by Evgene Karachevtsev

Hello Murali,

You should cancel the default behavior on Backbotton event.
Here you can read more:
http://cordova.apache.org/docs/en/3.6...
https://getsatisfaction.com/apperyio/...