Lets Code Together - Validating an Edit Form with Reactive Forms

Group Seasons Together for Validation


In this video

We group together the seasons to implement more complex validation.

Assignment: Validate that Seasons Start Before they End
  1. Create a new custom validator function for validating the two dates with each other.
  2. Within the validator function, compare the two dates, if the seasons starts after it ends then mark it as invalid.
  3. Do not implement any user feedback except for marking the form invalid.

I finished! On to the next chapter