Moodle User Interface Guidelines > Wizard
- 1 Problem
- 2 Context
- 3 Forces: factors that affect selection
- 4 Solution
- 5 Common mistakes
- 6 Examples and implementation
- 7 Related guidelines
- 8 Related issues in the tracker
- 9 (Optional) Further information / Sources
- Users need to perform a complex task, with which they are not familiar or lack needed domain knowledge
- The task users need to perform naturally divides into subtasks, and the nature or number of subtasks depends on what is selected in some other (preceding) tasks
You are designing an UI for users who are not experts at a given task that involves entering a lot of information or making intricate selections that depend on each other.
Forces: factors that affect selection
- Unexperienced users may get frustrated
- if too many choices, dependent on each other, are presented to them at once
- if they do not have all the background information related to a task
- Experienced users easily get frustrated
- if a task they know is split into too many phases
- if the order they enter data into the application is controlled
- Any user can be frustrated by lack of control in the process, i.e. not knowing the number of steps left or not being capable of controlling the process (returning back in the process to an earlier screen in case of a misunderstanding or mistake, for example)
A Wizard, sometimes called an Assistant, is an interface that guides users through a predefined sequence of steps.
Elements of a wizard
Displays the steps required to complete the wizard, and indicates the step the user is in currently, giving important feedback to the user resulting from their actions, making the application seem responsive.
- Previous: Whereever it is possible to allow the user to change the selections they have already made, a button labeled 'Previous' should be provided.
- Obviously, the first page of the wizard does not include a previous button, nor do pages which are a result of actions that can not be undone.
- Unlike one might assume, the Previous button acts as a submit button for the current page, just like the Next button. If the user has made changes on the current page when they decide to return to a previous step, those changes are saved.
- Provide a Previous button whenever possible to maximize user control.
- Next: Used for moving to the next step
- Cancel: If there is a specific page from which the user can be assumed to have arrived to the wizard from, clicking Cancel will return them to this page. If you can not be sure, determine a reasonable default.
The user should be capable of using the browser's back button normally in a wizard.
- After pressing the Next button, the user should end up in the step that was before the page
- After pressing the Previous button, the user should end up in the step that is after the current step in the wizard's sequence
- If the user cannot return to the previous step anymore, the user should be returned to the earliest possible screen, or alternatively the wizard should be reinitialized and the user sent to the first page of the wizard
If there is a danger that experienced users want to use the functionality provided by the wizard and that they want more control than what the wizard provides, provide an alternate user interface to them.
Moodle Wizards typically do not have all of the required buttons nor the status display.
Examples and implementation
This mockup (MDL-20036) demonstrates the main features of a wizard.
- Status display and controls for controlling the wizard
- The visual hierarchy of the page expresses that the content in the box with the darker background is part of the wizard, and that this wizard is completes the process of backing up the Course Course Fullname 101.
Note that this wizard is in the sense not typical that it only contains one step where the user actually does anything actively (enters information). The fact that the single screen contains a lot of information may slow down novices, but since backup can be considered an advanced operation, slowing down more experienced users would be worse.
- Note: Moodle 2.0 contains a implementation of a wizard done according to MDL-20036 (see MDL-22142). View it at http://qa.moodle.net/backup/backup.php?id=1 (requires login with the qa site testing credentials). A screenshot should be added here as soon as Moodle 2.0 is released.
Further examples and code samples: Wizard Examples and Code Samples
Another way of only showing unexperienced users what they understand is using Progressive Disclosure
Related issues in the tracker
- TODO: all the issues with installation and backup