got the datepicker working and submission from working