Page 1 of 1

toggle is true or false display pages

Posted: Sat Apr 12, 2014 6:27 am
by Adrian Cassimaty

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.


toggle is true or false display pages

Posted: Sat Apr 12, 2014 11:38 am
by Igor

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...


toggle is true or false display pages

Posted: Sat Apr 12, 2014 2:00 pm
by Adrian Cassimaty

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


toggle is true or false display pages

Posted: Sat Apr 12, 2014 5:54 pm
by Illya Stepanov

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...


toggle is true or false display pages

Posted: Thu Apr 24, 2014 3:18 pm
by Kateryna Grynko

Hi Adrian,

Did you solve it?


toggle is true or false display pages

Posted: Fri Apr 25, 2014 12:34 am
by Adrian Cassimaty

Yes, I did :) Thank you..