Skip to Content
Orange sectionTemplateConditional logic

Conditional Elements

Conditional elements allow you to create dynamic forms that adapt based on previous responses. This feature helps streamline your assessments by showing only relevant questions to users.

Use Cases

Conditional elements are particularly useful when:

  • Follow-up questions are only relevant based on specific previous answers
  • Certain sections should be skipped based on initial responses
  • You want to create branching logic in your forms

Example Scenario

If you have a question “Would you like a coffee?” and follow-up questions about your coffee preferences, those follow-up questions are only relevant if the answer was “Yes”. Deciris capture

Setting Up Conditions

To make an element conditional:

  1. Click on “Advanced options” in the element’s settings
  2. Select “Element conditions”
  3. Click “Add element condition”
  4. Choose the reference element from the dropdown menu
  5. Select the response that should trigger this element Deciris capture

The element will only be shown during the assessment if the selected condition is met. Otherwise, it will be automatically skipped.

Multiple Conditions

You can add multiple conditions to a single element:

  • Any of the conditions can trigger the element (OR logic)
  • The element will appear if at least one condition is met
  • Conditions can reference different previous elements

Make sure your conditional logic makes sense to users. Avoid creating complex dependencies that might confuse respondents or make the form difficult to follow.

Best Practices

When using conditional elements:

  • Keep the logic simple and intuitive
  • Test your form thoroughly to ensure conditions work as expected
  • Consider using section headers to group related conditional elements
  • Provide clear context for why certain questions appear

Example

Here’s how conditional elements look in practice:

Initial Question

Deciris capture

Follow-up Question (appears only if “Yes” was selected)

Deciris capture

Header Elements

You can also create conditional header elements. This is particularly useful when you want to group related questions that should appear together based on a condition:

  1. Create a new header element
  2. Click on “Advanced options”
  3. Add your condition

When the condition is met, the header and all its child elements will be displayed. Deciris capture

When a header is conditional, all elements under that header will follow the same condition, creating a logical grouping of related questions.

Last updated on