Implement Field Validation for Login and Registration
For the user login and registration process, implement validation checks for each input field with the following criteria:
- Email Field: Ensure the input is in a valid email format.
- Password Requirements: Introduce basic complexity requirements for the password. The password must contain at least one numeral and one uppercase letter. Please keep the complexity moderate to ensure user convenience.
- Password Confirmation: During registration, include a validation check to confirm that the 'password' and 'confirm password' fields match exactly.
- Additionally, update the file paths to ensure the correct display of our company logo across the login and registration pages.
Acceptance Criteria:
- The email field rejects input that does not match email formatting standards.
- The password must include at least one number and one uppercase letter, with a rejection message for non-compliance.
- Password confirmation field must exactly match the password field before allowing the registration to proceed.
- The company logo is correctly displayed on both the login and registration pages, indicating the file path has been correctly updated.
Notes:
- Please ensure all validation messages are user-friendly and guide the user on how to correct their inputs.
- Test the validation thoroughly across different scenarios to ensure a smooth user experience.