Required fields are clearly indicated (e.g., asterisk * or label)
Client-side validation is implemented (e.g., HTML5 validation or JavaScript)
Error messages are clear, specific, and user-friendly (e.g., “Email is required”)
Fields with errors are focused or highlighted for quick correction
Real-time validation is provided (optional, but improves UX)
Form does not submit with invalid or incomplete data
Loading State: When we submit a form, the submit button should be in a loading state and disabled from multiple submissions until HTTP request is completed.
Valudation Rules:
Input fields: required, min length, max length, pattern, etc.
Dates: the FROM date should be less than the TO date
Email: format is correct (e.g., example@domain.com), use input type="email"
Phone number: format is correct (e.g., +1234567890), use input type="tel"
Password: format is correct (e.g., at least 8 characters, 1 uppercase letter, 1 lowercase letter, 1 number, 1 special character), use input type="password"