a date must be selected