Working on date selection in form