Form Validation Toolkit

Validation Types

How many different ways or types of validation can we carry out.

Scenarios: When to Validation

  1. On Submit Validation:
    A set of form inputs can be validated when the form is submitted. If the validation for a form has been initiated, this will occur automatically. Example.
  2. On Change Validation:
    Each form input can be validated when the input fires a change event - i.e. after typing something or selecting a value. This also occurs automatically as long as the validation has been initiated for the form or a set of controls. Example.
  3. Custom Validation Scenarios:
    In addition to the above two built-in scenarios, a custom call can be made only for a set of inputs. This can occur from a custom trigger - as an example when a button is clicked. Example.