Number
suggest change<input type="number" value="0" name="quantity">
The Input element with a type attribute whose value is number represents a precise control for setting the element’s value to a string representing a number.
Please note that this field does not guarantee a correct number. It allows characters used in real numbers, so a user can type a value such as e1e-,0 that is not a finished number. Check the value before you use it.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents