Skip to content

[ENHANCEMENT] Enhanced Validation for First Name, Last Name and short description during signup #631

Open
@ksraj123

Description

@ksraj123

Describe the enhancement you'd like

  • There is no validation in place for the first name and last name sections of the signup form. So the user could enter anything, even complete articles as their first name or last name.
    Screenshot from 2020-09-30 00-53-20
    Screenshot from 2020-09-30 01-00-32

  • short description has a lower bound on the number of characters but no upper bound.
    Screenshot from 2020-09-30 01-59-43

Describe approaches if you have thought of any
These fields should satisfy the following constraints

  • The first name could contain only one whitespace and up to 15 characters
  • The last name could not contain any whitespace and up to only 12 characters
  • Neither the first name nor last name could contain any special characters or numbers
  • Short Description can have up to 250 characters

HINT - Regex

Additional context
Good First Issue, Hacktoberfest

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions