I would like to make sure check box value selected based on single selection field value.
Here is example:
I have single selection field name "Migration Type" and "CheckList" as checkbox.
1) Pre-Migration for cognos / informatica
Migration type == Cognos then checkList checkbox value should check Pre-Migration
cfValues['Migration Type']?.value == 'Cognos' && cfValues['CheckList']*.value == ["Pre-Migration"]
2) Post-Migration for cognos / Informatica
Migration type == Cognos then checkList checkbox value should check Pre-Migration and Post-Migration.
I tried simple validation script as below but it is not working
cfValues['Migration Type']?.value == 'Cognos' && cfValues['CheckList']*.value == ["Pre-Migration","Post-Migration"]
Did not work both.
I have database, document values in Migration Type field. If these values selected then validation is not needed.
Any suggestion on this?