Add a conditional branchΒΆ

Colectica allows you to add conditional branches that are only executed when a certain condition is true.

  1. Click the Add an item button.

    ../../../../_images/add-item-button-ifthen.png
  2. In the popup menu, click the IfElse button.

    ../../../../_images/add-item-popup-ifthen.png
  3. A new conditional is created and its editor is opened.

    ../../../../_images/empty-conditional.png
  4. To create a branch, click the add button.

    ../../../../_images/conditional-add-button.png
  5. Enter your condition.

    ../../../../_images/conditional-with-expression.png

    Note

    You can enter your expression in plain language or using pseudocode. If you are writing for a specific computer-assisted interviewing system, you can specify source code for that system.

  6. Your conditional branch will appear in the live preview.

    ../../../../_images/live-preview-conditional.png
  7. To add questions or other nested items within the branch, click the drill into button for your branch.

    ../../../../_images/drill-into-branch-button.png
  8. You will be taken to an empty survey designer. Anything you add here is only applicable to your chosen branch.

    ../../../../_images/branch-designer.png
  9. To go back to the top level of your questionnaire, use the breadcrumb bar.

    ../../../../_images/branch-breadcrumbs.png