prevents users from entering negative no. of days