Re: input type number

On 3/11/15 11:32 AM, Richard Dunne wrote:
> Creating the number type for the html input tag was useful, but it has a
> drawback. There may be a case for entering a negative number into a
> forms text field, but I can't think of one.

Any place you'd normally use negative numbers?  Interest rates in 
Europe, say.

> I would make the case that
> the number type should be restricted to non-negative integer values.

You can use min="0" to do that for the ones you know should be thus 
restricted, right?

-Boris

Received on Wednesday, 11 March 2015 15:51:07 UTC