Skip to main content
Kolekti home
Make Confluence forms smarter with conditional fields
Share on socials

Make Confluence forms smarter with conditional fields

A headshot of Matt Christiansen
Matt Christiansen
2 April 2024
2 min read
A browser window showing a conditional field in Confluence on a stylised background
A headshot of Matt Christiansen
Matt Christiansen
2 April 2024
2 min read
Jump to section
What exactly are conditional fields?
When to use conditional fields
How to create conditional fields in Confluence

Conditional fields in Confluence improve data collection for everyone. Here’s how to create them using Forms for Confluence.

If there are questions on your form that you only want certain users to answer, it can be difficult to keep it looking and feeling sleek. Luckily, with the innovative conditional fields in Confluence, there’s no need for compromise.

Need some help getting started with forms before diving into conditional fields? Be sure to read our guide to creating forms for Confluence.

What exactly are conditional fields?

Conditional fields are fields within a form that are only shown to users who respond to previous questions in a certain way.
A GIF of a user updating an answer on a form which changes the following form questions

When to use conditional fields

You should use conditional fields in Confluence when you want:

  • Questions tailored to users and how they respond: Let’s say you're conducting a customer experience survey and 'Would you use our service again?' is one of your questions. It makes sense to only show a field asking 'What did we do well?' to people who responded ‘Yes’.

  • More tightly curated surveys: By diverting users to the questions that are relevant to them, surveys are kept shorter and easier for users to engage with.

How to create conditional fields in Confluence

1. Install Forms for Confluence.
2. Create your Confluence form, or edit an existing form in Form Builder.
3. Make sure you already have your fields ready to go.

In our example, our form will have an event menu that changes depending on which of the two available dates they select. We have created a field to choose the dates and all of the menu options for both dates.
The Forms for Confluence editor with a date dropdown question and four menu option questions
4. Click the Conditional fields icon - it looks like two diverging paths. This will bring up the Conditional fields menu.
A user selects the Forms conditions button from the Form Builder in Confluence
5. Select Add condition.
An image showing the Conditional fields editor in Confluence without any added conditional fields
  • First, select the question that will trigger your conditional field. In our example, this is the question that asks users to select an attendance date.

  • Next, choose one of the responses to that question. In our example, we’ll choose March 12th.

  • Finally, select a question and whether to show or hide it in response to that answer (March 12th). In our example, we’ll click 'Show' and choose 'March 12th - Starter'.
A GIF of a user adding a conditional field in the Forms for Confluence editor
6. You can add extra conditions by clicking the Add condition beneath your first condition. For example, we would create extra conditions for 'March 12th - Main', as well as both March 13th meal options (shown below).
The Forms for Confluence Conditional fields editor with four conditional fields added
You can also delete a condition if needed by clicking the Trash button to the far right of each condition.

7. When you’re finished, click Save in the bottom right of the Conditional fields menu. This will close the menu and take you back to the Form Builder.
An image showing how the conditional fields look in the Form Builder. Below the conditional fields is text reading ‘This question will be shown conditionally’
8. Click Save on the form builder and select Publish/Update in the top-right of your page to view your form.
Unlock the power of intelligent data collection with a 30-day free trial of Forms for Confluence.
Written by
A headshot of Matt Christiansen
Matt Christiansen
Product Marketing Manager
With more than a decade of expertise in digital and product marketing, Matt serves as the Product Marketing Manager for Forms for Confluence at Kolekti. His passion lies in helping teams to effortlessly collect and comprehend user feedback within the Confluence platform.

LinkedIn →