- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 09:20 AM
Hi all!
I'm working with a record producer and I've run into a conflict on the form. My record producer has three total variables:
- A select box with two options
- A single line text variable - Set to Hidden
- A multi line text variable - Set to Hidden
I have two Catalog UI policies set up as follows:
- Select Option one - Single line text variable becomes visible
- Select Option two - Both the single line and multi line variables become visible
I'm having the following issue on the form:
- Select Option one - Single line text variable becomes visible
- Select Option two - Both variables become visible
- Select Option one again - no variable is visible
- Select Option two - Both variables become visible
I am unable to get the single line text variable to become visible again after selecting option two. I think this may have something to do with the orders applied to the variables in the Catalog UI Policies, but everything I've tried doesn't seem to fix it.
Any thoughts on how I can get this to function correctly without duplicating a bunch of variables? Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 09:51 AM
Hi @adunay,
Sometime working with multiple UI Policies can be 'fun' shall we say, especially on a Friday afternoon ; )
Whilst the order comes into play, my bet would be that the checkbox labelled 'Reverse if false' which is checked and set to true by default (meaning it will run) is the main factor in play.
This flag (as described on the UI Policy form) reverses the effects of the UI policy actions when the Conditions evaluate to false.
As both UI Policies probably have this checked, that's where the issue arises.
The 'Reverse if false' in visible with other fields in the 'Advanced view'
My first thought would be to inactivate (turn off) one of the UI polices and simply use the 'Reverse if false' to help implement your desired UI.
I would also control the visibility via the 'Scripting' via the 'Script' table and 'Run scripts' checkbox.
To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 04:37 AM
Hello @adunay
To meet this requirement, you can create a single UI policy with the following configuration:
UI policy configuration:
Catalog UI Policy Actions:
Result:
When option1 is selected: Only single line text variable is visible.
When option2 is selected: Both single line and multiline text variable is visible.
Hope this helps!
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"
Thank You
Juhi Poddar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 09:40 AM
I've been doing some more digging and found that this is in fact because of the order. When I switched orders around, the question would become visible on option one and not on option two.
I think I need to create a UI policy that states if Option one or Option two is selected, show variable 1. Then a second UI Policy that controls variable 2. Going to give that a shot now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 09:51 AM
Hi @adunay,
Sometime working with multiple UI Policies can be 'fun' shall we say, especially on a Friday afternoon ; )
Whilst the order comes into play, my bet would be that the checkbox labelled 'Reverse if false' which is checked and set to true by default (meaning it will run) is the main factor in play.
This flag (as described on the UI Policy form) reverses the effects of the UI policy actions when the Conditions evaluate to false.
As both UI Policies probably have this checked, that's where the issue arises.
The 'Reverse if false' in visible with other fields in the 'Advanced view'
My first thought would be to inactivate (turn off) one of the UI polices and simply use the 'Reverse if false' to help implement your desired UI.
I would also control the visibility via the 'Scripting' via the 'Script' table and 'Run scripts' checkbox.
To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 10:06 AM
Thanks Robbie! I'll give that a shot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 10:12 AM
Hi @adunay
Let the order remain same for both the UI policies and in the UI policy where you have only one variable marked as visible true in that UI policy uncheck "Reverse if False".
Then you will gonna achieve what you are looking for.
If my response helped, please mark it helpful and accept the solution so that it benefits future readers.
Regards,
Rohit