# wizard

## Validation

One of the key components to building a successfull multi-step form is being able to determine when the user can go to the next step. This requires validating the data, enabling, or disabling specific buttons. The validation function must return `true` or `false`.

#### Step Validation

There are two main ways to validate the current step in the form. The easiest way is to validate the data within each `wizard-step` component. This allows each step to have a unique validation routine.

#### Global Validation

The other way to validate the steps is by using a single global validation routine in the `wizard` component.