-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Description:
Form Validator is a simple web application designed to validate user inputs in various types of forms, ensuring the correct format and structure of data before submission.
Validation for Common Fields:
- Name: Must contain only letters.
- Email: Validates the format (e.g., user@example.com).
- Password: Checks for minimum length and required characters (uppercase, lowercase, numbers, special characters).
- Phone Number: Ensures valid numeric format.
Real-time Feedback:
- Immediate visual feedback as users type (e.g., red borders or warning messages for invalid fields).
- Success messages or green borders for valid inputs.
- Alert on clicking submit button if all required fields are not correctly filled.
Error Messages:
- Display detailed error messages below the relevant fields explaining why the input is invalid.
Reset Form:
- A reset button to clear all form fields and validation messages.