Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylesquare

...

Type

Usage

Image

  Field validation error

Alerting the user on an action that will not allow them to complete the task.

Image RemovedImage Added

  Field validation warning

Alerting the user on an action that might contain a mistake or a non-fatal error.

Image RemovedImage Added

Usage & Behaviour

Structure

A validation field consists of:

  • Color frame with a small icon on the top-right corner. This marks the validation type.

  • A validation Tooltip message, which appears on hover over the validated field.

  • A descriptive message next to the action buttons:

    • Error messages have a higher priority than warning messages. When errors are fixed, the warning validation should then be shown.

    • Where there is limited space or a short form, no descriptive message will appear.

Examples:

...

  • Use field validations for any user input fields.

  • Specify why the field information has not been accepted. Your validation messages should tell users exactly why their information got rejected or may have some risk, and how it can be fixed.

  • If the values entered may impact some other part of the system, briefly explain what may be impacted.

  • Keep the text short!

  • For complicated fields, using an example in the tooltip message can help.

  • Try to avoid negative words. For example: Rather than Password does not meet requirements or Invalid Password use → Password must contain 8 alphanumeric characters.

  • Additional examples to avoid:

    • Oops. Oops, something wasn’t right.

    • Error. This form has errors.

    • Failed. Form submission failed!

    • Problem. There was a problem creating your account.

    • Invalid. Oops, Something has gone wrong.

    • Prohibited. 3 errors prohibited this user from being saved.

...