Record Producer Multiple Checkbox label mandatory

Sam Ogden
Tera Guru

Hi All,

I have the following label and checkboxes on a record producer:

find_real_file.png

These appear based on the answer of another variable.   I need the label to be mandatory when these variables appear, but if any of the checkboxes are ticked for it to no longer be mandatory.   This needs to work so if any or all or anything inbetween are ticked.

I've been trying to achieve this through UI Policy but have been struggling, is this possible using this or do I need to write a catalog client script?

Any help on this is greatly appreciated.

Thanks

Sam

1 ACCEPTED SOLUTION

Hi,



the idea is correct the place to use   wrong, use it on a catalog ui policy as already mentioned.



better approach using conditions to work if the   current   value is not default value. Eg. false is default for cert field, i would use condition as cert is not false.


View solution in original post

14 REPLIES 14

rajmasurkar
Giga Guru

Hi Sam,



I am assuming, you are using Catalog UI policy.


If yes, can you share the snapshot of the Catalog UI policy?



Raj


Hi Raj,



This is what I am having difficulty trying to think how to achieve this.   I initially had it set like:


find_real_file.png


find_real_file.png



but this will only work if all check boxes are ticked.



Having thought about this would I need to do every possible combination in each OR statement e.g.



cert is true


cover is false


sched is false


prop is false


sof is false


key is false


ncd is false


renwl is false



OR



cert is false


Cover is true


Sched is false


prop is false


sof is false


key is false


ncd is false


renwl is false



ETC



set mandatory to false



Or would it be easier to write a script to achieve this?



Thanks



Sam


Hi Sam,



I am assuming that the requirement is once any value gets selected for field 'Please select the document types affected', that field should not be mandatory.


Am I right?



Raj


Hi Raj,



That's correct, exactly what I am looking for



Thanks