how to set a range for the rating label in my html form? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to set a range for the rating label in my html form?

I want to restrict user to enter only numbers between (1-10) and not more than that

22nd May 2018, 3:48 AM
rohith mudiraj
rohith mudiraj - avatar
1 Answer
+ 3
<input type="number" value="1" min="1" max="10">
22nd May 2018, 4:18 AM
Sachin Artani
Sachin Artani - avatar