Hi guys I'm creating an application for a region where date format is only in DD/MM/YYYY while the default input type date format in MM/DD/YYYY
Jquery CDN added
Bootstrap CDN added
<form>
<input type='date' id='date' name='date' required>
<input type='submit'>
</form>
I can do this by placing a placeholder of 'dd/mm/yyyy'
in input because value is in format of yyyy-mm-dd
that don't bother me but that require is creating problem. When a user gives wrong input in mm/dd/yyyy
format it gives an error that date is incorrect so placing a placeholder will not work in this required case.
how can i change it to dd/mm/yyyy
so it can work with required.