Logic: Hide or show field values depending on what's chosen an a previous field | Adobe Higher Education
Skip to main content
Level 2
October 9, 2017
New

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

  • October 9, 2017
  • 2 respostas
  • 2622 Visualizações

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 

2 Respostas

Level 4
October 9, 2017

In addition to the display logic that already exists for custom forms, we have a need for field choices to show based on the response to a previous question.

For example:

Question 1: Product Family
Choices 1: Home Services, Customer Service, Web App, etc..

If I choose 'Home Services in question 1 I only want to display limited choices for question 2

Question 2: Product
Choices 2: Home Services Product 1, Home Services Product 2, etc....

I need the Product list to be a comprehensive list of all products for reporting purposes, but want to have display logic within the question to only show certain choices based on an answer to a previous question.

Level 10
February 6, 2019
Community Advisor
April 29, 2024

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.

 

August 8, 2024

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.