Forums

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

Confiforms hide available drop down options based on user input

Drew T
Contributor
January 30, 2022

Is there a way to hide a particular id from a drop down list based on an entry in another field?

I am familiar with hiding a form field based on another field entry, but am unsure whether you can hide a particular drop down list option or options based on another field?

e.g. two fields on a form , field1 and field2 where both fields have 3 different options.

if field1:option1 is selected can you use a rule to hide for example field2:dropdownitem3, to return only dropdownitem1 and dropdownitem2

Can this be done or do you need to create multiple fields to show/hide based on the different options needed.

Grateful for some help!

 

2 answers

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
January 31, 2022

Hi @Drew T 

Welcome to this community!

What you are looking for to do is possible with ConfiForms. And the macro that could help you with is this one https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Field+Definition+Rules#ConfiFormsFieldDefinitionRules-ApplyFilteronafield

As you essentially not "hiding" anything, but "filtering in" the options you need based on the condition you set

Alex

Drew T
Contributor
January 31, 2022

Thanks @Alex Medved _ConfiForms_ I had missed that when I was looking through the wiki. I have used it now to filter options in two cases, one from a field within the same form and another with data from another form. 

Appreciate your help!

0 votes
Fabian Lim
Community Champion
January 30, 2022

Adding @Alex Medved _ConfiForms_ for assistance.

Drew T
Contributor
January 31, 2022

thanks @Fabian Lim 

Like Fabian Lim likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events