UI Policy not working

MStritt
Tera Guru

Hello,

I've created several UI Policies for a field on our Problem form. Depending on the value in that field, depends on what other field shows below it. I have one UI Policy that isn't working. The default value of this field is -- None --. I've created a UI Policy that says when the value is -- None --, then don't show these other fields. However, it's not working. The other UI Policies I've created for the other values in this field, are working properly. The default value of the field is -- None --. So, when a Problem is created, this is the default value. See a short video below.

https://www.screencast.com/t/d6BtTzqaeSk

UI Policy for -- None --

find_real_file.png

find_real_file.png

I've created UI Policies for each value in the 'Survey Classification' field. Whenever one of these values is selected, only the field pertaining to that value appears (correctly).

1 ACCEPTED SOLUTION

Upender Kumar
Mega Sage

HI

Check order of the UI Policy and also check Reverse if false check box for other UI polcies.

View solution in original post

12 REPLIES 12

PLease user addition as if surrey classification is empty..none means no condition

Hi Rajesh,

Not sure I understand.

Let's just talk about this initial UI policy else things will get confusing.

For your first UI policy that determines if those fields show (in your initial screenshot)...you have them set to be hidden if that survey classification field is none. You may want to look in to changing that to "is empty" or "is not" 'x' or 'y' or 'z'.

I then asked about them being mandatory...NOT in the UI policy settings...but in the actual field setting itself:

Secondly, are any of these fields set as MANDATORY on the field level? Meaning, when you created these variables or fields...is the core setting for that to be mandatory? If so....mandatory fields will ignore UI policies and still show anyway.

You would need to turn off the core field setting of it being mandatory and only trigger it being mandatory through the UI Policy when it's supposed to be mandatory (meaning after so and so fills in 'x' field or when field 'y' doesn't equal 'z').

Can you share a screenshot of your form where you have selected a value for survey classification and those other fields show up?


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Fields are not mandatory (configure dictionary).

Here are screenshots when each Survey Classification is selected.

None

find_real_file.png

Customer Engagement

find_real_file.png

Product Functionality

find_real_file.png

Resolution Time

find_real_file.png

Technical Understanding

find_real_file.png

Escalation

find_real_file.png

Thanks for doing all that.

Can you try changing your UI policy condition to check for Survey Classification is empty? (instead of none)?

Or try survey classification is not 'x', or 'y', or 'z'.

Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!