Moved validation out of datetimepicker JS file. Validate repeating.