• Are you a partner? Please find our certification tracks on our legacy Academy.

Group Field

The Group field enables users to group multiple fields. When set to ‘Multiple,’ users can create various iterations of a Group field while creating entries.

CSendUserTraining_L17_img-1.png

Video: Group Fields on Entries

The following video provides an example of an entry that uses group fields.

Understanding with an example

Let's understand this using the below diagram:

CSendUserTraining_L17_img-2.png

Consider a 'Site Header' example. A site header may contain menus such as 'Blogs,' 'About Us', 'Features,' and 'Program.' These menus have a similar structure and serve a similar purpose. Each of these menus can be grouped using a 'Group Field' as 'Multiple,' consisting of fields like 'Link Field' that can capture the 'Title' and 'Link' of the menu items.

Another typical use case for group fields is when you are tasked with creating a 'Carousel' on a page. A carousel generally contains images and some information about them. So, we can group them using the 'Group Field' as 'Multiple,' consisting of fields like 'Image,' 'Title,' 'Description,' and the 'Link Field.'

The following diagram provides an example:

CSendUserTraining_L17_img-3.png

The Group field possesses specific properties you can change anytime per your requirements.

The properties that can be modified are:

  • Basic

    • Display Name

    • Unique ID

    • Instruction Value

    • Help Text

  • Advanced

    • Multiple

    • Non-localizable

CSendUserTraining_L17_img-4.png

Potential Use Case:
  • FAQ is one of the real-world use cases for Group fields where editors need to create multiple combinations of questions and answers.

  • Group fields can be used to dedicate a section of your website for specific purposes.
    Example:  Survey Forms where you can incorporate all the existing fields Contentstack offers to create a questionnaire. Apart from survey forms, you can also generate an online polling system, quizzes, or even a rating system.

Quick Tips:
You can add up to a maximum of 100 fields(including nested fields) in a group field.

Further Reading