This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Văn Công Bằng
Posted Aug 28 - Read on Facebook

Well, it's not a framer question, it's kind of a question about logic. I'm building a multi-page prototype, every page has a back button, i use variables + if/else to move back to previous page, depends on what previous page is. Is there any proper way to do it without using if/else ?

8 Comments

Chris Camargo

Check out this view controller I wrote. Perhaps it will give you some insight into a possible solution? https://github.com/chriscamargo/framer-viewNavigationController

Văn Công Bằng

Thanks Chris, i'll check it out

Arun Venkatesan

Show us a code snippet

JT DiMartile

Nice work Chris , I wish this post happened 3 days ago! ha

Chris Camargo

Hey, I posted it back in July when I wrote it! You gotta use that search, homie!

JT DiMartile

Well yeah, I wasn't really searching per-se, I just wrote it and then came across this and was like 'hmmmm that would have worked perfectly'

Chris Camargo

I know that feel, bro. I also which search for groups was more prominent... and useful...

Koen Bok

Or, ahem, use google on framergroup.com

Read the entire post on Facebook