Use HTML5 input type number for validation