- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello,
I am creating a catalog item that has questions dependent on other question's answers to populate. The questions that populate are meant to only show when their condition is met but they are showing all the time since they need to be made mandatory.
In the screenshot, when One Time is selected, the three questions should be hidden but they always show regardless of selection.
Any help on getting the dynamic, mandatory questions to show only when their condition is met?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @vanessagrat,
To achieve the desired functionality of showing or hiding questions based on the selection of "One Time", please follow the steps below:
1. Create a Catalog UI Policy with the following configuration:
- Name: Show/Hide Variables based on One Time Selection
- Short Description: Show/Hide questions based on the "One Time" selection
- Condition: is_this_a_one_time_or_ongoing_assignment is One Time
- On Load: Checked (True)
- Reverse If False: Checked (True)
2. Create UI Policy Actions for the following variables:
- what_is_the_due_date_needed
- Mandatory: True
- Visible: True
- is_a_completion_due_date_needed
- Mandatory: True
- Visible: True
- what_is_the_desired_date_of_assignment
- Mandatory: True
- Visible: True
This will ensure that the questions are visible when the condition is_this_a_one_time_or_ongoing_assignment is One Time is selected, and the fields are hidden when the condition is not met.
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @vanessagrat
you need create catalog ui police to handle it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @vanessagrat,
To achieve the desired functionality of showing or hiding questions based on the selection of "One Time", please follow the steps below:
1. Create a Catalog UI Policy with the following configuration:
- Name: Show/Hide Variables based on One Time Selection
- Short Description: Show/Hide questions based on the "One Time" selection
- Condition: is_this_a_one_time_or_ongoing_assignment is One Time
- On Load: Checked (True)
- Reverse If False: Checked (True)
2. Create UI Policy Actions for the following variables:
- what_is_the_due_date_needed
- Mandatory: True
- Visible: True
- is_a_completion_due_date_needed
- Mandatory: True
- Visible: True
- what_is_the_desired_date_of_assignment
- Mandatory: True
- Visible: True
This will ensure that the questions are visible when the condition is_this_a_one_time_or_ongoing_assignment is One Time is selected, and the fields are hidden when the condition is not met.
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @M Iftikhar,
This fixed it. Thank you so much! I marked your response as accepted solution as well.
Have a great day!