8 Answers
New Answer8 Answers
New AnswerJust check if the input is valid before sending it... As I already mentioned: ***If you need help, please provide an example code.***
Use the step attribute. https://www.w3schools.com/tags/att_input_type_number.asp If you need help, please provide an example code.
Step is used to increment the value ....i tried min and max but only works well for integer whole numbers greater than zero
If i use 0.0001 as my min value and 10000 as max ... I wont be able to submit 0.05 or anything 0. Unless it's exactly 0.0001... I don't know if its a programmatic bug in html
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message