custom form input for datetimepicker