bcgov / bcgov/entity

Postal / Zip Code Address Validation and Display - UI DESIGN

Open
#2,199 1 comment 0 reactions 0 assignees View on GitHub
Priority2 UX
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Create Postal Code Design spec
Format: Must be 6 characters without a space or 3 characters 3 characters
Characters must be LNL NLN (L=Letter, N=Number)
Validation message "Please enter a valid Postal Code"
Characters may be input as lower case but are displayed and saved as upper case
If the Postal Code is entered without a space, display and store the Postal Code with a space

Zip Code
Format: Must be 5 digits without a space or 5 digits <-> 4 digits or 5 digits 4 digits
Values must be a number unless a <-> is used as a separator
Validation message "Please enter a valid Zip Code"
If 9 digits are entered without a space, display and store the Zip Code as 5 digits <-> 4 digits

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.