It checks if anything was entered in the inputbox.