bcgov / bcgov/entity

UI Design - Form Field Validations Requirements and add to UX Styleguide

Open
#11,859 4 comments 0 reactions 1 assignee Claimed by @atronse View on GitHub
ENTITY - DO NOT USE Pay UX
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

The way various forms get validated (via Done button, via dynamic when typing, via after leaving field) are inconsistent across the filings. This ticket is to review all form fields in use and create a UX styleguide for how/when forms get validated

Bonus - create a spreadsheet of the error messages so they also stay consistent across all filings

Review the different types of validations used within Vuetify

Need to think about errors such as:
- invalid spaces (would like to ignore and remove extra spaces)
- invalid email
- max character (should appear as user types)
- invalid characters (ie typing a number is a letter only field)
- required fields not filled out
- Address component (PPR has Country on top)

Continue to use the Done button for most validation unless it helps a user to dynamically see an error when they type in certain cases.

### Working Spreadsheet:
https://docs.google.com/spreadsheets/d/1BBE06XQ_rR-N7u2lqzlT5nyfktZrUwMnbIDAiG1CZI4/edit#gid=0
(request access from Yui)

### Sample validation spreadsheet from PPR/PHR

[Search Validation for MHR](https://1drv.ms/x/s!AlejmOwhCCvlgcAc3mT7O7IxgrmHVA?e=buumRx)

----

This ticket was what kick started this conversation and includes important notes of current validations. Tracey's notes in this ticket were based on listing what's happening in PPR, but that may or may not be what we want as our consistent final solutions (since PPR is also inconsistent):
https://app.zenhub.com/workspaces/entities-team-space-6143567664fb320019b81f39/issues/bcgov/entity/11837

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.