The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Forms - Section show when ANY option selected in field

Rune Rasmussen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 27, 2025

Hello

I would like a Form where a section will appear when ANY selection has been made to a field.

Let's say I have a field called "IT Service" and a section called "Description" where the Description field is in.

I would like the "Description" section (and the Description field) to only show when ANY selection has been made to the "IT Service" field.

Can this be done?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Tomislav Tobijas
Community Champion
January 27, 2025

Hi @Rune Rasmussen ,

As Izabela said, this is pretty much the only way you can set conditions within JSM forms. There's an open feature suggestion related to improvements related to conditions/sections: JSDCLOUD-10780: Form Conditions: More possibilities with conditions 

Cheers,
Tobi

0 votes
Izabela França
Community Champion
January 27, 2025

Hello, @Rune Rasmussen . I hope you are doing well.

 

Let me see if I understand it correctly: you want the section "Description", and its fields, to show only if the filed "IT Service" has a selection, it does not matter which option was chosen, corret?

If that is the case, you can put the field IT service before de section Description, and configure a condition selecting all the possible options of the field. Like this:


example1.png

 

Let me know if this answers your question :) 

Rune Rasmussen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 27, 2025

You understand the situation correctly.

Slight hurdle though.
My "IT Service" field has more than 100 entries, and they change from time to time as new services are brought in or old ones are phased out.

So I would ideally like to NOT have to select all services in the "Is any of:" list when setting the conditional behaviour.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events