I'm currently using <input type="date">
to capture a date. However, a lot of users don't know the exact date but still want to record an approximate date.
I want to encourage as high a degree of accuracy as possible but also want to be able to capture the following levels of detail so as not to exclude people who don't know:
- Day yyyy-mm-dd
- Month yyyy-mm-xx
- Year yyyy-xx-xx
- Decade yyyx-xx-xx
Some examples of input I've received from people using browsers that don't support <input type="date">
:
- in the 80ies
- April 2015
- 2009
- 1996-00-00
- 1996-07-00
- late 2010
- 1985ish?
- 1985-is-h? (after receiving error message "date must be in the format yyyy-mm-dd"!)