Catalog UI Policy not applying on Requested Item as configured

Kamva
Giga Guru

Hi Community,

 

I have developed a catalog item which has a require to make one checkbox (Conferences) not to be mandatory when other checkboxes are mandatory. In achieving that requirement, I have created catalog UI Policies for each checkbox to make the Conferences checkbox not mandatory and show multi-line text fields for the associated checkboxes. Now the problem I have is that these UI Policies is that they don't apply on the Requested Item record. Please assist. I have attached the images for your reference.

 

Catalog Item form when none of checkboxes is selected:

Kamva_1-1715154298897.png

 

Catalog Item form when one checkbox is selected:

Kamva_0-1715154234380.png

 

Requested Item logged with Legal checkbox is selected:

Conferences is still mandatory

Kamva_2-1715154385779.png


Catalog UI Policy configuration:

Kamva_3-1715154562519.png

Kamva_4-1715154599537.png


Regards,

Kamva Mjanyelwa

10 REPLIES 10

kente
Tera Guru

Did you use the "Selection Required" on the Check box? It seems like your making the checkboxes mandatory based on each other?

 

Also - Should it be possible to select multiple checkboxes? - If not I would suggest using a Select box

Hi @kente,

 

The "Selection Required" checkbox was selected, but then I have made changes but the issue persists

I created it like Zack, and I also didn't face any issues.

"have created catalog UI Policies for each checkbox to make the Conferences checkbox not mandatory ".

If this is true, then you might have some "reverse if false" issues.

 

Lets say you have 3 different selections and they are all dependent on each other then its bound to fail.
If "legal is true" then conference is false. But what if "Marketing" is false? Then Conference would be true

I see the issue now with the added text fields.  Its break the "Selection Required" group.

Is it required to have the form like that?

 

Is multiple checkboxes intended to be possible? And to the text have to below the checkbox?
If so, I might consider making a onSubmit client script to ensure that atleast one checkmark is selected. (might not be the nicest soluton)