Expand my Community achievements bar.

The Community Advisors application is now OPEN for the second class of 2024. Apply to become a part of this exclusive program!

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

Avatar

Level 1

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 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

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.

 

Avatar

Level 1

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.