VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

Form Validation - Project Name

Open heyitsalexander opened this issue 3 years ago • 1 comments

Overview

Currently, the projects details form doesn't have any validation. It increases onboarding time because user needs to go back and frequently correct typos (Form validation)

The project’s form fields need data validation, as opposed to them being free text fields. This issue tracks the validation of the Project Name field on the Project Management screen.

Action Items:

  • [ ] Add the following validation to the Project Name field:

    • no duplicates of pre-existing projects (compares Project name to all pre-existing Projects on VRMS),
    • character limit: 3 - 60 characters
    • allowable symbols: "- , ' ", A-z, 0-9, , letters
  • [ ] Create Error message that displays error relevant to the validation criteria (in red text underneath the input field):

    • IF name = duplicate of project: "Duplicate Project Name"
    • IF character count is < 3 or > 60 = "Project name must be 4-60 characters"
    • IF name includes symbols other than letters, numbers, and - , ' = "Project name may only include numbers, letters and the following symbols: - , '"

Resources/Instructions

Usability Zoom Recording Timestamp 3:35 https://drive.google.com/drive/u/0/folders/1oSUAaU-fzKHpXeZpou5PH3SwC5eRnEWq

heyitsalexander avatar Jan 17 '23 03:01 heyitsalexander

Issue 1268 with Annotations

Dev Team to review

JudyLee533 avatar Jan 29 '23 18:01 JudyLee533