Exercise
Form Validations Exercise

In this exercise, we will define two custom validations in an application that manages Employees and Projects. This exercise will be split in two, with one validation being done at tested at a time.


In the application we have a set of projects and employees. The application allows creating new employees and projects, but no custom validation is defined. However, there are some business rules we want to define in this application:

  • Every Project must have a Due Date in the future.

  • Every Employee must be 18 years old when hired.


You can download a ZIP file of the Exercise Materials by clicking the button below (login required).
It contains all the resources needed for this Lesson, including the Exercise Guide PDF.

Need help with this course? Ask in our Forums. | Have an idea to improve your learning experience? Share in Ideas.