javascript code to navigate

Moderator: Support

rogierv
Posts: 3
Joined: Wed Aug 19, 2020 8:15 am

javascript code to navigate

Post by rogierv »

Hello board memebers

I started using appery by satsfaction but i have some problems i cant seem to resolve. I want to have a button, when this button is clicked, appery should check if inputbox1 is bigger then inputbox2 and when this is the case appery should navigate to page 2, After reading on this board i understadn that i need to implement code in the action event "run javascript"from the button event. I just don't understand what the code is that i need to implement. Can someone help me please

Best regards

Rogier

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

Re: javascript code to navigate

Post by Serhii Kulibaba »

Hello,

Please use a method navigateTo for that. See this documentation for more details: https://docs.appery.io/reference-link/j ... navigateto

rogierv
Posts: 3
Joined: Wed Aug 19, 2020 8:15 am

Re: javascript code to navigate

Post by rogierv »

Thank you Serhi for your ressponse and simple explanation, it works :)

Post Reply