social-platform-donut-frontend icon indicating copy to clipboard operation
social-platform-donut-frontend copied to clipboard

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

Open ksraj123 opened this issue 5 years ago • 1 comments

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

ksraj123 avatar Sep 29 '20 19:09 ksraj123

@ksraj123 can i work on this issue??

jalajk24 avatar Apr 04 '23 17:04 jalajk24