The CreatorCon Call for Content is officially open! Get started here.

How to create UI policy on question choices.

Brent Cox
Giga Guru

I have to create a somewhat complex form where I need to use either multiple choice or select box for a number of variables. What I am trying to do is to have only certain question choices available depending on the drop down selection prior to it. Is there any way to use a Catalog UI Policy or anything else to make only certain question choices visible based on the variable chosen before it? Thanks! 

9 REPLIES 9

SwarnadeepNandy
Mega Sage

Hi Brent,

 

You can use anything which runs client side to achieve this. You can choose to use Client Script if it is overly complicated, but as it's just visibility, I would recommend Catalog UI Policy. Chances of error would be less and its easily readable.

 

Kind Regards,

Swarnadeep Nandy

That is what I would think, but for some reason when I go to create the catalog ui policy ACTION, I can only choose the main variable names. It doesn't allow me to choose the question choice names that I set up. 

Normally it should provide the choice list once you have configured the question choices.

If you can provide more details, it could be helpful.

 

Kind Regards,

Swarnadeep Nandy

Currently here is what I have. I have two variables set up. Both 'select box' for the type.

The first one, Question name is Area (Name is sap_service_area). There are two question choices for this one. First question choice is SAP (value is sap_services_sap). Second question choice is Success Factors (value is sap_services_successfactors). 

The second variable is named Workstream (value or name is sap_services_workstream.)  This has three question choices. HR(value is sap_services_HR), Accounting(value is sap_services_accounting), and Commercial(value is sap_services_commercial). 

What I am wanting to do first is to create a catalog UI policy that the HR question choice on the second variable is only visible if question choice on the first variable is Success Factors. So I went and created a catalog ui policy. I was able to select sap_service_area is Success Factors for the 'when to apply.' This is good. Now, when I go to create the catalog UI policy action, only two options appear under variable name. These options are both for the variables themselves, sap_services_workstream and sap_service_area. None of the values for the question choices I have set up appear here. 

I hope this helps to give you enough information! Thanks.