field object refactoring
validateRequiredField now validates groups as well
showing/hiding warning message