disable button if number invalid