2

Currently the placeholder in Chrome is showing up as "Date/Month/Year", how do I enforce my own placeholder attributes?

<input type="date" name="date" value="" class="date" size="40" placeholder="Delivery Date (dd/mm/yy)*">
muudless
  • 7,422
  • 7
  • 39
  • 57
  • 1
    Duplicates: http://stackoverflow.com/questions/2968817/is-there-a-way-to-localize-input-type-date-in-html5 http://stackoverflow.com/questions/7372038/is-there-any-way-to-change-input-type-date-format http://stackoverflow.com/questions/10153492/html-5-input-type-date-formatting-on-ios – ahren Aug 13 '12 at 01:50
  • 1
    Also, this may help you: http://updates.html5rocks.com/2012/08/Quick-FAQs-on-input-type-date-in-Google-Chrome – ahren Aug 13 '12 at 01:53

1 Answers1

1

The placeholder attribute isn't supported on input elements for date-type.

yckart
  • 32,460
  • 9
  • 122
  • 129