Html form input is not allowing me to input a value less than 0 (like 0.5 ) before submitting is there any fix to this
3/17/2022 1:05:25 PM
Just check if the input is valid before sending it...
As I already mentioned:
***If you need help, please provide an example code.***
Thanks alot it worked
Use the step attribute.
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
Here is a sample code https://code.sololearn.com/WcSFg7V6BMPv/?ref=app
add step attribute, e.g. step="0.001"
Send us a message