Displaying Progress Bar in a Multi-Branch Wizard
I am creating a wizard. One of the requirements is to display where the user is in the workflow (ie: Step 1 of 5). My problem is at any point the steps remaining could change depending on what the user 开发者_运维问答answers. Let me highlight with an example.
Q1: What is your name?
Q2: What is your age?
(a) 0-18 => User selects a, there are 3 questions remaining
(b) 19-65 => User selects b, there are 4 questions remaining.
(c) 65+ => User select c, there is 1 question remaining.
So in Q1, there is no way to know which answer the user is going to pick in Q2. What would I display to the user in Q1? Has anyone encountered this before? If so I would love to hear your opinion. Please keep in mind that the example is simplified and I have many branches in my workflow. Thanks!
Can you try this.. assign weightage to each step of the wizard assuming for the maximum branches it can have. then if he select a branch which have less branches than maximum then simply Push the progress to the maximum for that branch.
like if my All branches can contribute to a 100% and each branch can have at most 5 options then set 20% as the maximum for that branch.
Now if user selects something that has no more options then simply push to 20% otherwise only push 4%.(user is not blind he can see that now he has more fields to fill)
(Actually this was a problem of a Coding competition in my school...)
i think, You should display progress completed as 0 % or do not show progress at all as there is no way to know in advance that what is the answer of Q2 while answering Q1.
so when user select Q2 only then show progress
I would probably display something like "Step 1 of maximum 5" or "Step 1 of at most 5", adjusting the total to be the maximum possible at each node in your workflow.
精彩评论