Error Messages will show up and users are prevented from creating an account if their inputs for the Sign Up Form fields do not fulfill the requirements. Error messages have been styled to have a standardised appearance.
Requirements added:
Email must be valid
Username must contain letters & numbers
Password must be 8 characters long at least, and contain at least 1 special character, letter and number
I also added a Password Visibility button in the Password input field so users can hide and view their passwords if needed during account creation.
Account is created successfully and users will be redirected to the index page to sign in for the first time. Account details are saved successfully in the relevant areas of my database.
Error Messages will show up and users are prevented from creating an account if their inputs for the Sign Up Form fields do not fulfill the requirements. Error messages have been styled to have a standardised appearance.
Requirements added:
Password must be 8 characters long at least, and contain at least 1 special character, letter and number
I also added a Password Visibility button in the Password input field so users can hide and view their passwords if needed during account creation.
Account is created successfully and users will be redirected to the index page to sign in for the first time. Account details are saved successfully in the relevant areas of my database.
Closes #9