add formatter into textfield