Can I restrict number form entry range?

after i create a form in which i allow the user to fill a number as input how do i restrict his access to scroll till non negative numbers (because the number of burgers=-2 doesn’t make any sense)
PS:found the answer to this question the next exercise “Range input”

1 Like

I am definitely interested in this question too. In addition to making sure that all numbers are positive, I would want to limit the numbers to being only integers and set a maximum positive integer value. You don’t want customers to order more burgers than the restaurant can make.