Skip to content
jQuery moDateTimeField build date and/or time field from simple "input text" html field.
JavaScript HTML CSS PHP
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
exemple.html
moDatetimeField.css
moDatetimeField.js
server-side-validation.php

README.md

jQuery-moDateTimeField

jQuery moDateTimeField build date and/or time field from simple "input text" html field.

jQuery moDateTimeField is mobile friendly.

Quick integration

  1. Download and import "moDatetimeField.js", "moDatetimeField.css"
  2. 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.

Validation

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.

Tested on

IE 11, Chrome 66, Opera 52, Firefox 59

You can’t perform that action at this time.