TC Design

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Validation messages help users recognize, diagnose, and recover from errors. Validation messages should be:

  • expressed in plain language (no codes)

  • precisely indicate the problem, and

  • constructively suggest a solution (if not easily determined from the problem)

Scenarios and Examples

Common validation message wording

The following are some examples of common wording used. This wording is not an exhaustive list and does not cover all possible error conditions that could arise, as these are driven by the contents and business rules for any given page. Usage of this wording should always be considered in the context of the page and the question for which it is being applied. In particular, if several errors are presented together and could display the same message multiple times on a page, care should be taken to ensure that each message is unique. Any situations requiring new error message wording should be reviewed by a member of the UX team.

Tips

  • For field-level errors, refer to the name of the field as it appears on the screen whenever possible. When users read the error message, it’s much easier associated with the field and more recognizable.

  • Capitalization of field names should be removed in favour of following the capitalization style of the error message (ie. Sentence case).

Avoid

  • Phrasing errors as questions.

  • Referring to the user in the first person using “you” or “your”, “me” or “my”. This can appear accusatory in tone.

    • “Please enter the company name.” rather than “You did not enter a name for the company”.

  • Using the same error message for different fields on the same page. This makes it difficult to relate the message to the specific field(s) that caused the error, and some users relate the messages together and understand them as a single error.

    • “The start date of the reporting period must be entered in the YYYY-MM-DD format” and “The end date of the reporting period must be entered in the YYYY-MM-DD format” rather than “The reporting period must be entered in the YYYY-MM-DD format”

Mandatory field

This is used very sparingly when a page cannot be processed/continue without it.

Situation

When to use

Wording structure

Sample wording

Mandatory field

  • Free-form input field


  • Information is required for a given field in order to continue.

Enter the {name of field}.

“Enter the first name of the company contact person.”

Mandatory field

  • Currency

  • Information is required for a given field in order to continue.

  • Users may not be sure what to enter or may be hesitant


Enter the {name of field}. If unsure of the exact amount, enter your best estimate.

“Enter the total household income. If unsure of the exact amount, enter your best estimate.”

Mandatory field

  • Rostered

  • Information is required for a given field in order to continue.

  • Field is rostered (multiple fields with the same name are displayed on the screen)


Enter the {name of field} for {rostered item}.

“Enter the business name for location 1.”

Mandatory field

  • Radio buttons/checkboxes with related textbox

  • Related textbox has no answer


  • Radio button or checkbox is selected, but no answer has been provided in the related textfield

‘Because {name of field}’ was selected, describe {description of desired input}.

Because “’Other type of payment – specify’ was selected, describe the other types of payment provided to affiliated companies.”

Mandatory field

  • Radio buttons/checkboxes with related textbox

  • Related dropdown has no answer


  • Radio button or checkbox is selected, but no answer has been provided in the related dropdown

Because ‘{name of field}’ was selected, select the {description of desired input}

Because "’Yes - specify’ was selected, select the number of affiliated companies.”

Mandatory field

  • Date of birth that is split into its component parts


Enter the {day/month/year} of birth.

"Enter the day of birth."

Mandatory field

  • Dropdown

  • A value is mandatory within a dropdown field

Select the {name of field}.

"Select the dwelling type."

Consistency check

This is used to inform users when information entered may not be consistent with other information previously entered.

Situation

When to use

Wording structure

Sample wording

Consistency check

  • Totals not equal to parts

  • Numeric

  • Sum of the parts does not equal the total

  • Total should be displayed on the page


The {name of field} entered does not equal parts {start of line #} to {end of line #}. Verify and correct these answers if required.

“The total land area entered does not equal parts (a) to (f). Verify and correct these answers if required.”

Consistency check

  • Totals not equal to parts

  • Currency

  • Sum of the parts does not equal the total

  • Total should be displayed on the page


The {name of field} entered does not equal parts {start of line #} to {end of line #}. Verify and correct the amounts if required.

“The total assets entered does not equal parts (a) to (f). Verify and correct the amounts if required.”

Consistency check

  • Totals not equal to parts

  • Numeric

  • Sum of the parts does not equal the total

  • Total should be displayed on the page


The {name of field} entered does not equal the total of {description of parts}. Verify and correct these answers if required.

“The total land area entered does not equal the total of all other land areas entered. Verify and correct these answers if required.”

Consistency check

  • Totals not equal to parts

  • Currency

  • Sum of the parts does not equal the total

  • Total should be displayed on the page


The {name of field} entered does not equal the total of {description of parts}. Verify and correct the amounts if required.

“The total assets entered does not equal the total of all other assets entered. Verify and correct the amounts if required."

Consistency check

  • Totals not equal to parts

  • Percentage

  • Parts comprising a total do not equal 100%

  • Total should be displayed on the page


The {description of fields comprising the percentage} entered does not equal 100%. Verify and correct these answers.

“The sales breakdown entered does not equal 100%. Verify and correct these answers.”

Consistency check

  • Soft edit


  • Values entered are valid, but not considered ‘normal’

  • Use very sparingly and based on quantitative supporting data


The {name of field} entered seems {description, such as high, low, unusual}. Verify and correct these answers if required.

“The total land area entered seems high. Verify and correct these answers if required.”

Consistency check

  • Radio buttons/checkboxes with related textfield

  • Related textbox has answer on the same page


  • Radio button or checkbox selected does not match answer related to textfield

  • For users with Javascript turned off

{name or description of field selected} {“was”/”were”} indicated in question {question number}, but an answer was also entered for {name of field describing related textbox}. Verify and correct these answers.”

“No related companies were indicated in question 3, but an answer was also entered for the number of related companies. Verify and correct these answers.”

Consistency check

  • Generic

  • Related answer on the same page


  • Information entered in one or more fields may not be consistent. with a related answer given.

  • Related answer is on the same page

The {name of field 1} {“selected” (if dropdown/radio button/checkbox)/”entered” (if textfield)} is inconsistent with {name/description of other fields} } {“selected” (if dropdown/radio button/checkbox)/”entered” (if textfield)}. Verify and correct these answers.

“The province selected is inconsistent with the country selected. Verify and correct these answers.”

Consistency check

  • Generic

  • Value selected isn't valid based on other selections on the page

  • Selection of one field is inconsistent with selection of another field

  • Fields are located on the same page

The {name of field} entered is not valid for the {name of field} selected.

“The postal code entered is not valid for the province/territory selected.”

Invalid field

This is used to indicate when invalid information is provided for a given field.

Situation

When to use

Wording structure

Sample wording

Invalid field

  • Number

  • No decimals

  • Validation of a numeric field requiring whole numbers


The {name of field} must be numeric.

“The closing balance of total assets must be numeric.

Invalid field

  • Number

  • No decimals

  • Must be a defined length


The {name of field} must be {length} digits.

"The case number entered must be 8 digits long."

Invalid field

  • Number

  • Decimals

  • Validation of a numeric field requiring numbers to 2 decimal places


The {name of field} entered must be numeric to 2 decimal places.

“The retail pricing entered must be numeric to 2 decimal places.”

Invalid field

  • Domestic telephone number

  • Validation of domestic telephone numbers

  • Numbers entered do not conform to the 999-999-9999 format (or without dashes, 9999999999 format).


The {name of field} must be entered in the 999-999-9999 format.

“The telephone number entered must be in the 999-999-9999 format.

Invalid field

  • Canadian postal code

  • Validation of domestic postal codes

  • Numbers entered do not conform to the X9X X9X format (or without space, X9X9X9 format


The {name of field} must be entered in the X9X 9X9 format.

“The postal code entered must be in the X9X 9X9 format.”

Invalid field

  • Canadian & US postal/ZIP code

  • Validation of Canadian and US postal/ZIP codes

  • Numbers entered do not conform to the X9X X9X format (or without space, X9X9X9 format), 5 digit ZIP (99999), or 9 digit ZIP (99999-9999 or 999999999 without dash)


The {name of field} must be entered in one of the following formats: X9X 9X9, 99999, or 99999-9999.

The postal/ZIP code must be entered in one of the following formats: X9X 9X9, 99999, or 99999-9999.

Invalid field

  • Generic

  • Validation of any field where the information entered in the field does not match expected type or format


The {name of field} entered is not valid.

“The e-mail address entered is not valid.”

Invalid field

  • Maximum range reached, or minimum value not reached

  • Values entered are either too high or too low


The {name of field} entered may not be greater than {maximum range}.

The {name of field} entered may not be lower than {minimum range}.

“The number of employees entered may not be greater than 500,000.”

“The number of employees entered may not be lower than 1,000.”

Invalid field

  • Range

  • Values entered must be within a certain range


The {name of field} entered must be from {lower range} to {upper range}.

“The number of business locations entered must be from 1 to 20.”

“The annual sales entered must be from $0 to $1,000,000.”

Invalid field

  • Date

  • Validation of date fields

  • Date entered does not conform to the YYYY-MM-DD format, or MMMM D, YYYY formats


The {name of field} must be entered in either the YYYY-MM-DD format or MMMM D, YYYY formats.

"The date of incorporation entered must be in either the YYYY-MM-DD or MMMM D, YYYY formats."

Invalid field

  • Date

  • Validation of date fields

  • Date is separated into its 3 components: day, month and year


The {day/month/year} of birth entered is not valid.

"The year of birth entered is not valid."

Invalid field

  • Date in past or too low

  • Date entered exceeds the allowable date


The {name of field} entered must occur before {date maximum in long date format}.

“The date of incorporation entered must occur before March 31, 2011.”

Invalid field

  • Date in past or too low

  • Date entered precedes the allowable date


The {name of field} entered must occur after {date minimum in long date format}.

“The date of incorporation entered must occur after January 1, 2011.”

Invalid field

  • 2 related date fields used in a date range


The {name of field 1} entered must occur after {name of field 2}.

"The fiscal period end date entered must occur after the fiscal period start date."

Invalid field

  • Maximum length reached

  • The text entered is greater than the allowable length


The {name of field} entered may not be greater than {length of field} characters.

“The comments entered may not be greater than 500 characters.”

  • No labels