bcgov / bcgov/entity

Missing Required Indicators and Validation on Upload Affidavit Page

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

Description

Description:
Several fields on the Upload Affidavit page and the subsequent page are missing required indicators or maximum length validations. This can cause inconsistent user experience and API rejections when long values are submitted.

**Steps to Reproduce:**

1. Navigate to the Upload Affidavit page.
2. Observe the Street Address, City, and Postal Code fields — none show the required field indicator.
3. Check the Notary Contact section.
4. Enter long text values in the Email, Phone, and Extension fields.
5. Proceed to the next page and test the following fields:

- First Name
- Last Name
- Email Address
- Confirm Email Address
- Phone Number
- Extension

**Expected Result:**

Required fields display a clear required indicator (e.g., an asterisk).

Email, Phone, and Extension fields have proper maximum length validation both on the front end and in the API.

All name and contact fields on the next page enforce a maximum length limit.

**Actual Result:**

Required field indicators are missing for Street Address, City, and Postal Code.

Notary Contact section may lack validation.

Email, Phone, and Extension fields allow excessively long values that the API rejects.

No maximum length validation for first name, last name, email address, confirm email address, phone number, or extension on the next page.

image.png
image.png

image.png

Existing component pattern for input fields validation:
https://www.figma.com/design/dqAdOO55kQZV6cq7cyAlUB/Account-Creation---Login-Method-Page-Redesign?node-id=1637-829&t=41OtBMSTLq22pNdI-4

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.