Shitikantha / SCP_DEFECT

0 stars 0 forks source link

Mobile Number field Validation required #26

Open sandekum28 opened 2 months ago

sandekum28 commented 2 months ago

In the Registration Form, in the mobile number fields under each Persona, we require below mentioned validations. Currently no validations available. Following Validatios required:

  1. Max lenght of Mobile number to be 10 digits. User should not be allowed to enter more than 10 digits
  2. If user is entering any number which is less than 10 digits and then tab to next field, an error to be displayed "Invalid mobile number".
  3. Currently Mob number field shows +91. Once user starts entering the mobile number it disappears. When user entering the number, the number should display like: +91-8292020102
  4. Mobile number field if left blank and user tabs to next field, then erro to be displayed as "Mobile Number required"

Student / Moderation / Faculty Registration Screen

a. Mobile number

Screenshots below:

Image

Image

Image

Image

AnilV12 commented 2 months ago

Team Point 1, 2 and 4 working fine as per requirement.

But point 4 still need to fix. following this the open requirement.

  1. Currently Mob number field shows +91. Once user starts entering the mobile number it disappears. When user entering the number, the number should display like: +91-8292020102
ummadiharish1995 commented 1 month ago

Team

a. Max length of Mobile number to be 10 digits. User should not be allowed to enter more than 10 digits - Not Completed - User Can enter more than 10 digits ( Validating when tabbed to next field ) b. If user is entering any number which is less than 10 digits and then tab to next field, an error to be displayed "Invalid mobile number". - Not Completed - User Can enter less than 10 digits ( Validating when tabbed to next field ) c. Currently Mobile number field shows +91. Once user starts entering the mobile number it disappears. When user entering the number, the number should display like: +91-8292020102 - Not Completed - +91 Disappears when user starts typing d. Mobile number field if left blank and user tabs to next field, then error to be displayed as "Mobile Number required" - Completed

Shitikantha commented 1 month ago

Functioning as per figma design

AnilV12 commented 1 month ago

Working as expected - Closed