jQuery moDateTimeField build date and/or time field from simple "input text" html field.
jQuery moDateTimeField is mobile friendly.
- Download and import "moDatetimeField.js", "moDatetimeField.css"
- Build your date and/or tim field(s) by calling the script like this : $('selector').moDateField();
The documention is under redaction. You can check this page : https://www.mickael-outhier.fr/works/prod/modatetime-field/index.php for some live exemples.
I did'nt invest time for the data validation because we can never trust the data sent by the client. Data validation must be done by a server side script. You can check "server-side-validation.php" for a exemple of server side validation written in PHP.
IE 11, Chrome 66, Opera 52, Firefox 59