Adding characters validation in the date fields