I have an asp.net form that has about 7 steps. I need help with code for step skipping. The scenario:
On step 1, I have a a few radio input controls. Now, based on the radio answer selection in step 1 I want my <asp:ImageButton ID="ContinueButton0" runat="server" CommandName="MoveNext" ImageUrl="continue.jpg" /> to go to a specific step.
Lets say user answers Yes for radio question 1 in step 1, then "MoveNext" goes to step 2. But if user answers No for radio question 1 in step 1, then "MoveNext" goes to step 3.
Also I'd like to have "MovePrevious" go back to the last step the user was in. For example, if user went from step 1 to step 3 because of his answer selection, if user clicks go back ("MovePrevious") it should take him back to step 1, not to step 2.
I've been stuck trying to do this forever >.<
Thanks so much ahead of time!!! :D