I created a prototype in Figma of a step-by-step sequence of 5 stages for a barbecue assistant:
- Index
- Guests
- Date
- Location
- Meat
In the first step (Index), you can choose which will be the second step. At the top of the screen, there’s a numerical sequence from 1 to 5. Below that, there’s a button to proceed. If you choose “Guests,” you’ll follow the normal order of screens (2, 3, 4, 5) when clicking forward. However, if you choose “Meat,” then the order should be 5, 2, 3, 4, and so on.
Since any of the next options could be the number 2, how can I create rules using variables and conditional statements to update the sequence in the prototype?