Skip to content

Form Validation - Project Name #1268

@heyitsalexander

Description

@heyitsalexander

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New Issue Approval

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions