Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation: Implement validation checks to ensure that the provided information is correct and complete. #23

Open
1 of 27 tasks
rlanier-webdev opened this issue Aug 25, 2023 · 0 comments
Assignees

Comments

@rlanier-webdev
Copy link
Contributor

rlanier-webdev commented Aug 25, 2023

  1. Registration and Sign-Up Validation:
  • - Validate that all required fields (e.g., username, email, password) are provided.
  • - Check for valid email format.
  • - Verify that the username is unique and meets length requirements.
  1. Password Validation:
  • - Enforce password complexity requirements (length, uppercase/lowercase, numbers, special characters).
  • - Ensure that the password and password confirmation match.
  1. Email Verification:
  • - Validate email addresses by sending a verification link.
  • - Set an expiration time for the verification link.
  1. Profile Completion Validation:
  • - Ensure that mandatory fields (e.g., first name, last name) are completed during profile setup.
  1. Date of Birth Validation:
  • - Validate that the provided date of birth is realistic (e.g., not in the future) and within an acceptable range.
  1. Numeric Input Validation:
  • - Validate that numeric fields (e.g., age, phone number) contain only numeric characters.
  1. Text Input Validation:
  • - Prevent or sanitize input for potential HTML/script injection (cross-site scripting or XSS attacks).
  • - Validate that text fields do not contain excessive or invalid characters.
  1. File Upload Validation:
  • - Validate file formats and sizes during file uploads (e.g., profile pictures).
  • - Set limits on acceptable file types (e.g., image, PDF).
  1. Dropdown and Selection Validation:
  • - Validate that required options are selected from dropdown menus or radio buttons.
  1. Address Validation:
  • - Validate address fields for completeness and accuracy.
  1. URL Validation:
  • - Validate URLs to ensure they are well-formed and secure.
  1. Phone Number Validation:
  • - Validate phone number formats based on the applicable country's conventions.
  1. Consent and Agreement Validation:
  • - Ensure that users consent to terms of service, privacy policies, or any legal agreements.
  1. Checkbox Validation:
  • - Validate that required checkboxes are checked (e.g., agreeing to terms).
  1. Character Limit Validation:
  • - Enforce character limits for text fields (e.g., short descriptions, comments).
  1. Uniqueness Validation:
  • - Check for uniqueness of data such as usernames, email addresses, or other identifiers.
  1. Numeric Range Validation:
  • - Validate that numeric inputs (e.g., age) fall within an acceptable range.
  1. Conditional Validation:
  • - Implement conditional validation based on user choices or inputs.
  1. Cross-Field Validation:
  • - Validate relationships between fields (e.g., start date should be before end date).
  1. Error Handling and Feedback:
  • - Provide meaningful error messages explaining validation failures.
  • - Highlight the fields that need correction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant