html5 - html 5 date input element is not parsed -
sorry if question asked unable find exact duplicate. want have html 5 date control initialized date - 19 may 1992. have tried following:
<input class="text-box single-line" data-val="true" data-val-date="the field birthdate must date." data-val-required="the birthdate field required." id="birthdate" name="birthdate" type="date" value="5/19/1992" /> but it's not working. give me right direction?
you need use rfc3339 compatible format 1992-05-19.
Comments
Post a Comment