- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 09:39 AM
Hi,
I need to hide several variables from an item if a select box return a specific value.
My setup in attachment.
wrong result: even if I select Luxembourg in Front-End, Equipment variable doesn't disappear from the request.
Kind regards,
Solved! Go to Solution.
- Labels:
-
item hide variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2022 08:33 AM
You can use a Catalog UI Policy to hide a section in this way, as long as none of the variables in order after Container Start and before Container End are not mandatory. Selecting Mandatory False on the UI Policy Action will make/ensure none of the variables in the section are mandatory, and will hide the entire section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 10:37 AM
Hi Sebastien,
Is your equipment variable Mandatory - either in the variable definition or through another policy or script? If it is and is not populated, the UI Policy will not hide it - so you would also want to set Mandatory to false in the UI Policy Action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2022 07:54 AM
Hi BradBowman,
Equipment variable is a "Container Start".
No mandatory notion for this type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2022 08:33 AM
You can use a Catalog UI Policy to hide a section in this way, as long as none of the variables in order after Container Start and before Container End are not mandatory. Selecting Mandatory False on the UI Policy Action will make/ensure none of the variables in the section are mandatory, and will hide the entire section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2022 06:20 AM
Hi Brad,
Thank you for your help, it works perflectly.
Kind regards,
Sebastien