You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create UI: Update Postal Code Validation for Firms Registrations #31208
Description
Currently, the postal code field in the firm registration form validates as the user is typing (on every keystroke). This can cause a poor user experience, as users may see validation errors before they are finished typing the postal code. Adjust the validation behaviour so that the postal code format validation only occurs when the field loses focus (onBlur) or when the user moves to the next field.
To Do
The “Format must be A1A 1A1” error should only trigger when the user tabs or clicks away from the postal code field (onBlur event) if the user has entered an incorrect postal code format.
Do not change the existing maximum character validation behavior — it should continue to trigger immediately while typing if the user goes over the limit and display as it currently does.
Acceptance Criteria
Given the user has entered an invalid postal code format (e.g., “12345”), the “Format must be A1A 1A1” error message does not appear until the user tabs or clicks away from the postal code field.
Activity
severinbeauvais commentedon Dec 1, 2025
@jacqueline-williams-549 Is this ticket superceded by the other postacl code tickets, and can be closed?
jacqueline-williams-549 commentedon Dec 1, 2025
Yes I agree, we dealt with the validation erorr states in ticket #31312