Initialization

Form initialization is the only point at which you can change the form mode (add, edit, or update), and you should do so with Set Wizard Form Mode on the Wizard is Initialized event because runtime checks the form mode immediately after firing Wizard is Initialized.

This flowchart illustrates how runtime initializes the wizard form:

Wizard form initialization.