[html5] input type=time & min/max.



that defines @min and @max attributes for the <input type=time>

Question is: If @min happens to be greater than @max:

    <input type=time min="08:00:00" max="07:59:59" >

what should be presented to the user?

Shall the whole input be e.g. disabled or it should allow the input anyway?

And yet in such conditions the input will always be unsuccessful.
What should be sent to the server from such an ill element?

"If an element has a maximum that is less than its minimum, then so long 
as the element has a value, it will either be suffering from an 
underflow or suffering from an overflow."

Andrew Fedoniouk.


Received on Saturday, 19 September 2009 19:39:47 UTC