adds validation to user input after board is prefilled