Format HTML5 input calendar with javascript

0

I'm doing a form with validation in HTML5 and I came across a bit of a bad situation, when I put type="date" when I move the mouse over the "settlers" to manipulate date or ascend to the calendar. The problem is that the formatting is horrible and I would like to know if there is no way I can use CSS or JAVASCRIPT to solve this problem.

 <input type="date" name="DtNascimento" required="required" 
oninvalid="setCustomValidity('Por favor, digite sua Data de Nascimento.')" 
onChange="try{setCustomValidity('')}catch(e){}">
    
asked by anonymous 23.06.2016 / 21:36

1 answer

1

For formatting field problems I use javascript libraries.

In my opinion the best for dates is the DatePicker link

    
23.06.2016 / 21:50