datepicker fill the form in the agenda