Adrian Cassimaty
Posts: 0
Joined: Sat Apr 12, 2014 6:27 am

toggle is true or false display pages

Hey guys,

I want to create a toggle that when the "next button" is pressed it will go to the corresponding page, whether the toggle is true or false. I'm new to learning java, wanted opinions on the best way to do this?

I'm sure this is simple for you wizards :)

cheers.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

toggle is true or false display pages

Hello,

You can get toggle value using this code from here:
https://getsatisfaction.com/apperyio/...
Then you can use if statement:
http://www.w3schools.com/js/js_if_els...
And navigate to page function:
http://docs.appery.io/documentation/j...

Adrian Cassimaty
Posts: 0
Joined: Sat Apr 12, 2014 6:27 am

toggle is true or false display pages

thanks Igor, got that working, however after the transition the pages flash and disappear.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

toggle is true or false display pages

Hi Adrian, it's really hard to say what is wrong, can you describe it more detailed?
Or you can give us a public link to your app and steps how to reproduce it.
:: http://docs.appery.io/documentation/s...

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

toggle is true or false display pages

Hi Adrian,

Did you solve it?

Adrian Cassimaty
Posts: 0
Joined: Sat Apr 12, 2014 6:27 am

toggle is true or false display pages

Yes, I did :) Thank you..

Return to “Issues”