Added validations. Fixed small problem with date field in form