A group element can be used to group elements on a (Q)Form. Groups may contain questions, text elements, and other groups.
A group can be shown or not. There are two levels on which can be decided if a group will be shown or not:
The feature to include a form or to show or hide groups of questions is not available for QForms. Questions will always be shown when the fields that will hold the answers have no value, and will be hidden when these fields already have a value.

The title of the group determines how it is shown to the user of the form. To lay out this text, you can use HTML instructions.
With the button Fields... you can include the value from a particular Field.
Only available for Forms, not for Qforms.
By default, a group is always included in a Form. If the option 'Group is not always included' is checked, the conditions under which the group is part of the Form can be set. Such a condition contains the following elements:
This field indicates if the component will be included or excluded from the form when all conditions are met.
If more than one condition is entered, this determines whether the group will be included when all conditions are true or whether the group will be included if at least one condition is true. If only one condition is entered, the choice of one or the other makes no difference.
By clicking the 'New' button, additional conditions can be entered.
Clicking the 'Edit' button allows you to make changes to the selected condition.
Clicking the 'Remove' button will remove the selected condition(s).
The New, Edit and Remove actions are also available through the context menu of a condition.
Select the type of the field, for example Text, Number, Date of Time. The selected field type determines the possible choices for the rest of the condition. For example, a Field type Text can be compared to a certain text value and a Date Field type can be compared to a certain date.
Select one of the available fields from the list. Choose a field that has the same type as you selected at 'field type'.
This field determines the way the selected field is compared to another value.
The selected field will be compared with the value that is selected here. Depending on your choice, you can either enter a value or select a field. If you selected field type number, you can only set two decimals.
A date needs to be entered in the default ITP date format; YYYYMMDD where YYYY stands for the year, MM the month and DD the day. For example the date January 20, 2001 needs to be entered as "20010120".
Time needs to be entered in the default ITP time format: HHMM where HH is the hour and MM the minutes. For example the time 12:30 needs to be entered as "1230".
Here, you can set the behavior of the group if the group is included in the Form.
Group is expandable
If this property is checked, the user can expand or collapse the group. If this property is checked, the option "Group is expanded by default" becomes enabled. This property defines if a group that is expandable is expanded or collapsed by default.
Only available for Forms, not for Qforms.
If this property is checked, the group (and all the elements in the group) is dynamically shown or hidden depending on the entered conditions. The conditions check the answers the user filled out in earlier questions in the Form.
For each condition you can select a question from a drop-down list in which questions are shown in the order in which they have been entered in the Form. Not all questions are shown here. Date, Time, Text Block, and Editable Text Block Questions cannot be used to show a group conditionally.
Depending on the type of the question you can select different comparison methods to compare the answer of the question with a given value. If the comparison method "In" is selected you have to enter a list of values. The condition will be true if the answer the end user fills out is equal to one of the values entered in the list. The comparison method "Contains" is only available for question that allow more than one answer. In this case, the condition will be true if one of the answers the end user selects for that question is equal to the given value.
Note that the question which answer determines if the group is shown or hidden, has to be positioned above this group.
By clicking the 'New' button, additional conditions can be entered.
Clicking the 'Edit' button allows you to make changes to the selected condition.
Clicking the 'Remove' button will remove the selected condition(s).
The Edit and Remove actions are also available through the context menu of a condition.
Note
If you check the option "Allow selected answers to be ordered" in a Choice Question, it will not be possible to show or hide groups based on this question.