shows message if in enum type element id or display name is empty