The best cross browser, mobile friendly and user friendly date input field?
I need to create a simple date of birth input field that will be inserted into my database. I am wanting to use an input type="date"
field, however I have noticed that this type is not supported in Safari.
I would like to know the best way to create a date of birth field using the date input.
I have seen some date pickers which may be an option, but wondered if there are some other ways?
Maybe I could just have a text field that would force the user the enter the date in the format needed such as DD/MM/YYYY (being in that order and with the slashes) and move to the next part once they have typed, for example once they have typed the DD, it selects the MM automatically? However, when this is entered into the database it wouldn't be a date format.
Or could I use a date field and show the DD/MM/YYYY with the slashed in Safari?
Any advice would be great! Thanks