A contributed module named Field group allows us to organize fields into groups known as fieldgroups. These groups can be created for the purpose of gathering associated fields during input or while rendering them during display. In this recipe, we will be creating a group to contain all fields providing contact information within the company node type.
We will be using the company node type created earlier in this chapter. As this recipe uses fieldgroups, it is required that the Field group module be installed and enabled. It is available at http://drupal.org/project/field_group.
Once the fieldgroup module has been enabled, the Manage fields form for the company node type should now have an option to also create groups. This form can be accessed by navigating to admin/structure/types/manage/company/fields
[Home | Administration | Structure | Content types | Company].
The Contact
fieldgroup to hold the Address, Phone...