- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 03:16 AM
Hi All,
I have a field on a form called XYZ. It should be visible when choice A is selected in the ABC field(dropdown with a,b &c), It should be visible and mandatory when i select choice b and i it should be hidden when i select c.
Now am writing two UI Policies, One to make it visible and other to make it visible and mandate.
I tried both... But in first condition it is not at all visible... any solutions?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 03:30 AM
Hi Swathi,
i would not recommend to uncheck the reverse is false button.
Create 2 UI Policy.
As far as i see , there is only 1 case it should be hidden (which would make it in all other cases visible if the condition won ´t match)
and 1 policy to make it mandatory when it needs to be .
When i do troubleshooting on UI Policies , i am using catalog_ui_policy_action_list.do and search for the variable which is causing issues and i see in how many Policies it is sitting in.
Thank
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 03:22 AM
Hi Swathi,
first check the order of the UI Policies and make sure they are not the same (this could cause all kind of fun)
Also check the "reverse if false" if checked or not. Which would mean if the Conditions are not met to make is visible (in either one of them, it will be hidden)
You might have 2 policies working against each other due to the Reverse if false.
I would would create 1 policy to hide it (with option C) and another one to make it mandatory if option B
Let me know if that helps.
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 03:25 AM
Hi fran,
Thanks for your reply, so you are asking me to uncheck reverse if false button, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 03:30 AM
Hi Swathi,
i would not recommend to uncheck the reverse is false button.
Create 2 UI Policy.
As far as i see , there is only 1 case it should be hidden (which would make it in all other cases visible if the condition won ´t match)
and 1 policy to make it mandatory when it needs to be .
When i do troubleshooting on UI Policies , i am using catalog_ui_policy_action_list.do and search for the variable which is causing issues and i see in how many Policies it is sitting in.
Thank
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2018 03:24 AM
Be careful of - Reverse is true flag
you have more than 1 policy you can end up with the reverse being applied. For No action items it does not matter. For things like visible and mandatory it will matter.
Regards