added regex for date
use datepicker's date in even entry
fixed input field