And finally, if there are no errors with page 2, the success screen is displayed (Figure 6-8).
Figure 6-8.Wizard success page
Putting it all together, Figure 6-9 illustrates the work flow of the wizard detailing page flow
and validation.
Figure 6-9.Create Account wizard work flow
Submit billing details
form
Show success page
Validate entire form
View billing details
form
Submit username
and email form
View username
and email form
Process
Yes
Yes
No
No
No Errors
Error from second page?
Form validates?
Yes
Error from first page?
Form validates?
Yes
182 CHAPTER 6 ■THE CONTROLLER MENAGERIE