validators code added for a few fields