- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2017 03:24 AM
Hi All,
I have the following label and checkboxes on a record producer:
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2017 05:15 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2017 03:35 AM
Hi Sam,
I am assuming, you are using Catalog UI policy.
If yes, can you share the snapshot of the Catalog UI policy?
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2017 04:11 AM
Hi Raj,
This is what I am having difficulty trying to think how to achieve this. I initially had it set like:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2017 04:44 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2017 04:46 AM
Hi Raj,
That's correct, exactly what I am looking for
Thanks