And finally, if there are no errors with page 2, the success screen is displayed (Figure 6-8).Figure 6-8.Wizard success pagePutting 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 flowSubmit billing details
formShow success pageValidate entire formView billing details
formSubmit username
and email formView username
and email formProcessYesYesNoNoNo ErrorsError from second page?Form validates?YesError from first page?Form validates?Yes182 CHAPTER 6 ■THE CONTROLLER MENAGERIE