I know there are a few questions out there on this topic, but they all are either unclear or, they are using input[type="text"]
in them.
In my HTML form I have an input of type date. So now I want to make sure that the date of birth is valid(Date is not in the future!). How do I do this?