blank date should show an error if mandatory