working dob-input validation with all three error types

- invalid date
- too young (< 17 years old)
- too old (> 90 years old)