replaced input text with number type