ref #4174 - validate direct user input from datepicker