how to not let the input number go below 1 code example Example: no negative prices in field type number <input type="number" min="0">