Expand my Community achievements bar.

Logic: Hide or show field values depending on what's chosen an a previous field

Avatar

Level 2

4/26/24

Hello community! I've been trying to create some logic on one of my intake forms. 

My idea is to have a complete list of values on one field, but that it should display only a few of them depending on what I have chosen on a previous question.

For example: in a field called Color I will have the options Blue, Yellow and Red, but I only want to display the options Blue and red if in previous Field I chose the option "Pencil" and only Yellow and blue if I chose "Pen".

Is that possible?

 

hope I made myself clear 

21 Comments

Avatar

Level 2

11/1/21

We are a new customer and really need this option to filter drop-down choices based on the value selected in the previous drop-down field. I do not like having to create a new drop-down field for every subset of the first drop-down field options :(

Avatar

Hey everyone,


I apologize for the time zone inconvenience. We definitely don't want you to sacrifice the sleep time :)


Please feel free to schedule Pacific Time Zone-friendly time slots via this link.


We look forward to talking to you.

Avatar

This is still a major need for our Workfront use. Will this functionality be included in the new form designer?

 

Our use case is similar to others - if a user selects an option in one field, we want to hide or filter-out certain options in other fields. It would be similar to how Typeahead filters work, but more dynamic (which was also requested in this post here). If display logic was used at the field option level, that would work for us.

 

A bonus would be if the field maintained that behavior across all forms that it was used on. I can see this being tricky to implement given that different forms may not have the same combination of the same fields, but luckily Adobe is super smart and could probably figure that out.   

Avatar

Community Advisor

4/29/24

Hi,

 

Unfortunately Workfront does not have the ability to build field choice logic (i.e., dynamically display values in one field based on the values chosen in another field) the same way that you can build field display logic.

 

The way to achieve this would be to use an External Look up field and dynamically pull in the field values via API. Using this type of field you could dynamically display the colour choices based on the value of another field. There's a fantasic post on this here by @William-- where he provides an example of calling a list of countries via API what is dynamically displayed based on the region that is selected in another field. Here is the link to the help documentation on using external lookup fields too. 

 

The only other option is to have multiple colour fields that are presented based on display logic. It's a bit messy as you'll end up with multiple colour fields which will make reporting a challenge, but would allow you to only display the relevant colours.

 

Best Regards,

Rich.

 

Hi Rich - 

 

I have a similar situation. Hoping you can give me some guidance.  

1. I've added 2 text fields to a form. a) Item Description b) Item Description Additional Comments. (both fields on the same row)

2. I'd like to add a checkbox at the end of the row with display logic. 

3. If checked, I'd like to see text fields a) and b) repeat & displayed on the subsequent row. Effectively, item #2 information 

4. The same checkbox parameter needs to display on row 2 as I might need to repeat and display a row 3.

5. The ability to dynamically add these fields is needed as there might be as many as 10 Item Descriptions to be entered.

 

Thanks for your help.   

Avatar

Community Advisor

3/12/25

Hi @jon_chen! This has been an ask for years. I'm sure there are other similar Ideas we could merge. Do you have any insight on this from product?

Avatar

Administrator

3/13/25

Hey @Madalyn_Destafney Thanks for reaching out. This idea is past the 2-year threshold we have previously incorporated into the revamped ideas review process. If there is a similar, more recent idea that aligns with this ask, please let me know and I will merge it! There will be a much higher chance that this idea is considered in that scenario.