validate number in question answer view