Behavior makes all questions mandatory and does not hide wanted items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 05:28 AM
Hi all.
I have an issue with a catalog item that I have created - due to the set up all questions in the item appear mandatory, and the ones that are supposed to be hidden based on a specific behavior only hide after clicking around in the drop down options.
I will try to describe the setup of the item here:
1. Dropdown menu asking what type of event the users wishes to host. The dropdown has three options, and based on which one you click three separate lists of questions appear.
The questions are put into single line columns which have behaviors on them saying to hide or show based on what the user picks in the first drop down.
Does anyone have a recommendation to how I can set up a large catalog item with many questions that are based on what the users clicks in the first drop-down menu.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2023 07:18 PM
I believe your problem is that your UI policies are either competing with one another, or more likely your UI policies are competing with your catalog variable attributes (show/mandate/read only).
In my PDI I recreated a catalog item that had one dropdown with three options, and then three dropdowns with two options.
I created three Catalog UI Policies to SHOW the respective variables if the first dropdown had a certain selection.
I had the same behavior that you indicate you had. I'd see all variables as soon as the form loads. Selecting options on the first dropdown initially did nothing. Once I started making selections and changing my first dropdown it started to show/hide kind of correctly, but not really.
To fix this issue I set my "child" drop-downs as NOT mandatory.
Then my UI Policy Actions make the respective variable visible AND mandatory. Making those changes fixed my catalog item.