formated text and added invalid number input condition