Forums

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

Show costum field depends on another radio box field value on a screen

Soner Ayık August 14, 2024

Hello,

Can I display a custom field based on another radio button value on a screen ?

For example : if i choose "Literatür araştırması (akademik yayın için)" ı want to show/hidden "Literatür araştırması seçenekleri" field

 

Ekran Alıntısı.PNG

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
August 14, 2024

Hi Soner,

You might be able to do that with the ScriptRunner Behaviours app, but other than that it is not possible. 

Soner Ayık August 14, 2024

Hi John,

Thank you I solved it with ScriptRunner Behaviours

Like John Funk likes this
John Funk
Community Champion
August 14, 2024

Great! Glad you got that to work!

Karl Samson
Contributor
February 26, 2025

Hi Soner, I'm trying to do the same for multiple radio button options. I guess you wrote a server side script for this, would you mind sharing please?

Thanks.

Currently I have the below, but struggling to do it for multiple options:-

 

def radioField = getFieldById(getFieldChanged()) // Get the radio button field
def dependentField = getFieldByName("Design Metallics - Hours") // The field to show/hide

if (radioField.getValue() == "Show") {  // Adjust based on your option value
    dependentField.setHidden(false)  // Show the field
} else {
    dependentField.setHidden(true)  // Hide the field

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events