change message value must be less than input type number code example Example: number input html <input id="number" type="number" value="42">