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

[222] Sign-Up Form Validation - Mobile #270

Closed
Dufuna-Fem opened this issue Dec 10, 2020 · 0 comments
Closed

[222] Sign-Up Form Validation - Mobile #270

Dufuna-Fem opened this issue Dec 10, 2020 · 0 comments

Comments

@Dufuna-Fem
Copy link
Collaborator

As a new customer signing up, I want to be able to signup on the e-commerce website so that I can have access to various promos

Success Criteria

  1. Validate the sign-up form

  2. Ensure that all fields are mandatory except the Other names field.

  3. The first name and last name fields should be validated to NOT accept special characters

  4. If the First name field is empty and the user clicks signup, the error message should be "Please enter your First Name"

  5. If the Last name field is empty and the user clicks signup, the error message should be "Please enter your Last Name"

  6. The Phone Number field should only receive the + sign and Numbers (ie, it should be validated to support this format 0022134 and +233042548)

  7. If the Phone Number field is empty and the user clicks signup, the error message should be "Please enter your Phone Number"

  8. If an invalid phone number is entered, the error message should be "Please enter a valid phone number"

  9. Ensure the email address field only accepts valid emails (ie name@domain.com)

  10. If an invalid email address is entered, ensure a message is displayed to the user - " Please enter a valid email".

  11. If the Email Address field is empty and the user clicks signup, the error message should be "Please enter your Email Address"

12.Ensure that the Password field only accepts a

   a. Minimum of 6 characters.
   b. At least 1 capital letter.
   c. At least 1 special character eg @
   d. At least 1 number
  1. If an invalid password is entered, the message shown should be "Your password should have a minimum of 6 characters, 1 capital letter, 1 special character eg @ and 1 number."

  2. If the Password field is empty and the user clicks signup, the error message should be"Please enter your Password"

  3. If the Confirm Password field is empty and the user clicks signup, the error message should be "Please confirm your Password".

  4. Ensure that the input in the confirms password field matches that in the password field.

  5. If the values in 16 above don't match, the message displayed should be "Your passwords don't match"

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

No branches or pull requests

1 participant