Using conditional logic with Forms

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Cloud Only -  This article only applies to Atlassian products on the  cloud platform .

Summary

Forms use sections to allow you to dynamically show or hide content depending on the user's response to a previous question.

Scenario

For this article, we'll assume that you've set up a form for your Service project but have some concerns about how to use the Forms sections.

Show a Section Based on One Condition

To create a conditional section:

  1. Create a choice (radio button, checkbox, or dropdown) question on your form. (Note that currently multi-select dropdown questions cannot be used to trigger conditional logic.)

  2. Click on the button Add section  anywhere below the choice question.

  3. Click on the section divider. The properties panel will give you the option to have the section shown Always , or Conditionally .

  4. After selecting Conditionally you’ll be given a list of all the choice questions in the form (including questions that are part of previous conditional sections) which precede the conditional section.

  5. Select the appropriate question. A list of choice options will appear so you can select the choices that will bring the section.

  6. Add the relevant questions and content to the section.

Show a Section Based on Multiple Conditions

You can also nest conditional sections in order to require more than one condition to be met for a section to appear.

To do this, place the question for the second condition within a conditional section dependent on the first condition.

(info) These sections work as demonstrated in the screen recording below:

Last modified on Mar 21, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.