Adding sections to a survey

Compatibility:IdSurvey 6IdSurvey 7

With IdSurvey it is possible to add sections to a survey that act as containers for a group of pages. By doing so, you can better organize the flow of the questionnaire and use some advanced sorting functions.

You can add sections to a survey using the graphic interface or the IdCode.

Creating sections from graphic interface

Click on the button “Edit Pages” in the Questions Management window of your survey and drag one page over another to create a section that contains them. Once the section is created, you can add other pages by dragging and dropping them inside the section, or you can extract some pages by dragging them out of the grey box of the section. Once you are finished with the editing, click on the “Edit Pages” button again to go back to the normal view and continue the creation of the questionnaire.

Creating sections from IdCode

To generate a section using the IdCode, you only need to add the commands “section NAME” and “/endsection” (without quotes and changing NAME with a name of your choice for the section), respectively before and after the pages you wish to add to the section, just like in the example below:

  • Once your section is created, you will be able to edit it by clicking on the “Edit Pages” button and the cogwheel button that will appear in the grey box of the section itself. Here you can set filters that work on the entire section and that have a higher priority over those that are on the single pages inside of the section: for example, if the condition of a section filter is not satisfied, every page inside the section will be skipped, regardless of the display conditions set in each page.
  • You can set the pages inside the section to display in a random order. The page randomization works the same as the questions randomization and answers randomization that you normally use in a page, meaning you can randomly rotate all the pages inside a section and/or create randomly rotating group of pages. You can find more information on the random functions in the dedicated article inside this Knowledge Base.

Leave A Comment?