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 to have a correct number. It just allows all the symbols which could be used in any real number, for example user will be able to enter value like e1e-,0.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents