Added validation for Name during Create and Edit