Basic example

In this example, the input fields are formatted automatically upon focus and blur (zero-filled and zero-unfilled).

  1. Upon focus, the zero-unfill preformatter, removes the leading "0"
  2. Upon blur after successful validation, the zero-fill formatter adds "0"