imohit1o1 / medi-hub

MERN STACK HOSPITAL MANAGEMENT SYSTEM
https://medi--hub.vercel.app/
MIT License
51 stars 135 forks source link

[ENHANCEMENT FUNCTION] Enhance User Registration Function to Validate Phone Numbers #269

Open Prateek579 opened 4 months ago

Prateek579 commented 4 months ago

Description

Update the user registration function to ensure proper validation of phone numbers. Currently, if a user enters a phone number with fewer than 10 digits, no alert is triggered, and user is not registered in database.

Expected Behavior

if a user enters a phone number with less than 10 digits, alert is triggered

github-actions[bot] commented 4 months ago

Hi there!

Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

Please note that this is the project owner, @itsmohit097 Do the fork and branch process properly (read contribution.md file). if no followed properly PR will not be merged. Thank you for your cooperation.