I need to ask the user for a duration in a html input.
f.e. 03h 12m 12s
Is there any way to give him a selection, like input type date?
I use Bootstrap 4.
Thank you
<input type='number'> set min and max
<input type='number'>
min
max
input, label { font: inherit; width: 4ch; }
<form id='duration'> <input id='h' name='h' type='number' min='0' max='24'> <label for='h'>h</label> <input id='m' name='m' type='number' min='0' max='59'> <label for='m'>m</label> <input id='s' name='s' type='number' min='0' max='59'> <label for='s'>s</label> </form>
1.4m articles
1.4m replys
5 comments
57.0k users