2- Search Child/Stuff.
3- Create Child/Stuff.
4- Main Responsible.
1 - Enter the user (Admin or Manager) and enter the password.
The system will validate the user name and password, and then:
a) If accurate, he will be transferred to his profile page,
b) If not, a label will appear & tell him “Incorrect user name or password”.
I attached a file which includes an already made hash function to store the password hashed, & when the user enters the password to login it will hash it then compares it with the existing hash password in the database.
2 – The user can choose forget password, where he will input his user name and then will extract his email & send him a random 10 digit password (with no special characters and mix between characters & numbers), and then the password will be sent by email, and then update him “e-mail sent successfully”.
3 - “Search or Create new Stuff / Child page”
a) If clicked on “Create” , it will open the “Create Page”
b) For “Search”, if the user start typing a child name it will search based on typing.
c) If “Double Click” on a certain name, it will open the child form where he can edit/delete a child.
d) “Main Responsible” is Mandatory when creating a new Child and then use “Save”, where “Previous” only closes the form without saving.
e) If “Delete Child”, we have to check if “Main Responsible” is assigned for other child or not, if it is not assign -> we will delete “Main Responsible” as well.
f) There should be simple “Validations”, like name->letters only, Mobile-> numbers only.
g) If the user exists, there should be a message box to confirm, like “Are you sure you want to exist?”
I will attach the project & database, the project has some build errors due to syntax need to be corrected.
Files in the following link: