When a user creates a new account, they fill in an email and password. The app should validate the below conditions before letting the account be created, displaying a user friendly message if any check fails:
The password should not be less than 8 characters in length
[x] Add minlength to the password input field
minlength="8"
The password should contain at least one uppercase character
The password should contain at least one number
The password should contain at least one special character
[x] Add attribute pattern with regex to the password input field
EPIC: https://github.com/boolean-uk/team-dev-client-ex-2410-team3/issues/9
When a user creates a new account, they fill in an email and password. The app should validate the below conditions before letting the account be created, displaying a user friendly message if any check fails:
The password should not be less than 8 characters in length
[x] Add minlength to the password input field
The password should contain at least one uppercase character
The password should contain at least one number
The password should contain at least one special character
[x] Add attribute
pattern
with regex to the password input fieldPossible resource for client side validation here: https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation
* Required
text under the input fields.See design document: Design