Skip to content

Instantly share code, notes, and snippets.

@JakubNei
Last active June 16, 2017 12:26
Show Gist options
  • Save JakubNei/cc54682293da72af02c29f34f5a83d84 to your computer and use it in GitHub Desktop.
Save JakubNei/cc54682293da72af02c29f34f5a83d84 to your computer and use it in GitHub Desktop.

If user is able to type date in text, do show the date format somewhere, i.e.:

  • Start Date: <input type="text" name="start_date" placeholder="yyyy-MM-dd">
  • Start Date <small>yyy-MM-dd</small>: <input type="text" name="start_date">
  • Start Date: <input type="text" name="start_date" alt="yyy-MM-dd">
  • combination of (all) above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment