phone number validation , required fields(age & gender).
This merge request implements validation improvements in the form by adding:
Phone Number Validation Added validation to ensure the phone number: Accepts only numeric values Follows the required length (e.g., 10 digits) Displays appropriate error messages for invalid input Marked Age and Gender fields as required. Prevents form submission if required fields are not filled.
Improve data accuracy and consistency Prevent incomplete form submissions Enhance user experience with proper validation feedback
🧪 Testing
Verified that invalid phone numbers show error messages. Confirmed form submission is blocked when Age or Gender is empty. Tested successful submission with valid inputs.