How to create conditions to skip to a page based on users selection?