This is a language guide for the PASIprep UI Guidelines.
The following guidelines can be used as a reference as needed (though it is not enforced): writer_guide.pdf
Sentence case should be used in all cases except in:
Confirmation dialog should have a title that repeats the action the user is trying to perform in a form of a question
Alert/Information dialogs should have a title that reference the type of data or the action that the user was viewing/performing that triggered the dialog
Find dialogs should have a title that references the business object that will be found - Find XXXX
If the section contains a PASIprep Business Object Grid, the section title should generally be the business object name (pluralized)
The following name should be used for common buttons:
Error Type | Message |
---|---|
User did not enter a required field | This field is required. |
User entered an incorrect format for a field | Please provide a {field} in the format: {format}. e.g. “Please provide a date in the format: YYYY-MM-DDD” e.g. “Please provide an email in the format: @._” e.g. “Please provide a phone in the format: (xxx) xxx-xxxx” Note: When possible, be forgiving on the format; e.g. let user enter phone number as xxx-xxxxxxx or xxxxxxxxxxx or (xxx) xxx-xxxx. NOTE: a hint message should be provided for fields with expected format so user can see what the expected format is. The error message will echo the format if user still fails to type in the correct format. |
User entered the wrong data type (e.g. they enter an alphabetical string instead of a number) | Please enter a valid {type}. e.g. “Please enter a valid number” e.g. “Please enter a valid date” |
User entered a string that is too long than the number of accepted characters in a text area (or text input with large number of characters accepted, e.g. >100) NOTE for shorter text fields, the text input should simply stop user from entering more characters than allowed. | This field may not be more than {max # of char} characters. NOTE: the character counter should be displayed below fields that has an upper bound on max number of characters so user is aware of how many characters they can enter in a field. See https://material.angularjs.org/latest/demo/input for demos. |